• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved How to set SSL to use TLSv1.2 through Let's Encrypt?

Cawe COy

New Pleskian
Hello I am a new Plesker :)

I am using Lets Encrypt to generate SSL certificate automatically each 3 month. The current SSL is using TLSv1.0 but I need it to use TLSv1.2.

Additional info:

Code:
# plesk -v
Product version: 12.5.30 Update #76
    Update date: 2018/05/07 04:11
     Build date: 2016/06/08 10:00
     OS version: CentOS 5.11
       Revision: 344620
   Architecture: 64-bit
Wrapper version: 1.2

I am using Nginx as server.

Also, I've tried to enable only TLSv1.2 in my server, but it's failed:

Code:
# /usr/local/psa/bin/server_pref -u -ssl-protocols "TLSv1.2"
[2018-09-25 10:05:15] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/sslmng' '--protocols' 'TLSv1.2'] with exit code [1]
sslmng failed: WARNING:Ignoring unsuppored protocol TLSv1.2
ERROR:No supported protocols supplied

Strange, because it seems that TLSv1.2 is available...

Code:
# /usr/local/psa/bin/server_pref -s | grep ssl-protocols
ssl-protocols:    TLSv1 TLSv1.1 TLSv1.2

Can anyone help me to get this working?

Thanks in advance!
 
Last edited:
I just solved the problem...

  1. Change manually nginx config to
    Code:
    ssl_protocols TLSv1.2;
  2. Download (wget) and install (configure, make & make install) curl 7.34 which is compatible with TLSv1.2. Check if version is correct now:
    Code:
    curl --version
  3. Download (wget) and install (configure, make & make install) openssl 1.0.1 which is compatible with TLSv1.2. Check if version is correct now:
    Code:
    openssl version
  4. Download (wget) and reinstall (configure, make & make install) php. At the "configure" part, reference the directory where is the just updated curl and openssl through the parameters
    Code:
    --with-curl=/usr/bin
    and
    Code:
    --with-openssl-dir=/usr/local/bin
    . Ps: to find the directory where is the openssl and curl installed, just run
    Code:
    which openssl
    and
    Code:
    which curl
 
Back
Top