• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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