• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

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