• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question In what route/path install plesk onix ssl certificates?

lepe

Basic Pleskian
Hello

I am trying enable HPKP for my ssl certificates adding wrong code in htacces generated in ssh and I can´t calculate the right sha256 for the public key because I receive errors due to wrong route path.
I followed this tutorial trying many options (.key, .pem, .crs, .crt) adding like openssl x509 -in www_mywebsite_fr.crt -pubkey -noout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 but I received next error:

Code:
Error opening Certificate www_mywebsite_fr.crt
139985532938144:error:02001002:system library:fopen:No such file or directory:bs                                             s_file.c:398:fopen('www_mywebsite_fr.crt','r')
139985532938144:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:

unable to load Public Key
140468587530144:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c                                             :703:Expecting: PUBLIC KEY

I checked in etc/ssl/certs and here only i can see "localhost.crt" and I am searching one of my two websites certificates www_mysite_fr.crt

Where is located route/path of certficates installed from plesk onix in Centos 7 and apache 2.4.6 ?

NOTE: I installed certificates from plesk onix 17.5.3
Best regards
 
Last edited:
Back
Top