• 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

How I can configure plesk that apache listen to other ports? "SSL"

Xearox

New Pleskian
Hey there,

I have a SSL certificate for my website. I add the certificate to plesk and now I want use the certificate for diffrent ports.

If I run only apache without plesk I need to add the ports to the apache conf where it listening too.

At the moment apache listen only on port 844. But I want add 8443 too, how I do it in plesk?
 
Thank you for your answer.

I have add my certificate to the directory but I get this message

Code:
/etc/init.d/sw-cp-server restart
nginx: [emerg] SSL_CTX_use_PrivateKey_file("/opt/psa/admin/conf/httpsd.pem") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: ANY PRIVATE KEY error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib)
nginx: configuration file /etc/sw-cp-server/config test failed
 
Please check, that your certificate ( /opt/psa/admin/conf/httpsd.pem ) has the correct entries:
Code:
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
... because the nginx - configuration - checker found failures.
 
thank you for your help. this work know but it is not that what I want to know.

I use webmin for my webserver too not only plesk. 8443 is now save but 10000 not...

Is it possible to add this port in plesk or is it required to change the apache conf?
 
Back
Top