• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Cant enable HTTP2 support due to missing SSL certificate

Salvatore

New Pleskian
Hi, I would like to enable HTTP2 but cant do it becouse some SSL certificate is missing. Gonna post some logs later on. Tried to follow this tutorials with no success:

Supporto di HTTP/2 in Plesk

Unable to start Apache or/and nginx: SSLCertificateFile: file does not exist or is empty

Could i just delete from PSA database the related entries? Will it regenerate them or is there any better solution?
Thanks

httpd -t
Syntax OK

nano /etc/nginx/conf.d/ssl.conf
ssl_ciphers EECDH+AESGCM+AES128:EECDH+AESGCM+AES256:EECDH+CHACHA20:EDH+AESGCM+AES128:EDH+AESGCM+AES256:EDH+CHACHA20;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

nginx -t
nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/certh3TuBZ") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/certh3TuBZ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

plesk sbin nginxmng -e
[2019-06-12 21:35:38.342] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx_control' '--start'] with exit code [1]
Can not start proxy server: /usr/local/psa/admin/sbin/nginx-config execution failed:
nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/certh3TuBZ") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/certh3TuBZ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed


exit status 1


plesk sbin httpdmng --reconfigure-all
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: [2019-06-12 21:45:07.997] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2019-06-12 21:45:08.577] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2019-06-12 21:45:08.737] ERR [panel] Apache config (15603759070.49440900) generation failed: Template_Exception: nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/certh3TuBZ") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/certh3TuBZ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/certh3TuBZ") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/certh3TuBZ','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed


exit status 1
 
Last edited:
Finally solved hurray!

rm -f /etc/nginx/plesk.conf.d/webmails/*
rm -f /etc/httpd/conf/plesk.conf.d/webmails/*
rm -f /etc/httpd/plesk.conf.d/server.conf
plesk repair web -server
 
Back
Top