Comments on: How To Set Up Multiple SSL Certificates On a CentOS VPS With Apache Using One IP Address https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/ Premium Linux Tutorials Since 2001 Thu, 15 Dec 2022 09:11:13 +0000 hourly 1 https://wordpress.org/?v=6.5.4 By: admin https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-48221 Fri, 22 May 2020 06:17:11 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-48221 In reply to BRyan santos.

Yes, you can create a separate SSL configuration file per site.

]]>
By: BRyan santos https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-48220 Fri, 22 May 2020 04:58:20 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-48220 Hello,
Can I create separate SSL conf file per site? and not put on the ssl.conf?

TIA

]]>
By: sachin https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-47605 Mon, 18 Feb 2019 10:42:24 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-47605 Hi,

I did the same thing but I am getting below error:

Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: Apache/2.4.37 mod_ssl (Pass Phrase Dialog)
Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: Some of your private key files are encrypted for security reasons.
Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: In order to read them you have to provide the pass phrases.
Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: Private key ***************:443:0 (/etc/httpd/cert/antivirus.key)
Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: Enter pass phrase:Apache:mod_ssl:Error: Private key not found.
Feb 18 10:13:10 ip-172-31-5-188.eu-west-1.compute.internal httpd[2197]: **Stopped
Feb 18 10:13:11 ip-172-31-5-188.eu-west-1.compute.internal systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Feb 18 10:13:11 ip-172-31-5-188.eu-west-1.compute.internal systemd[1]: Failed to start The Apache HTTP Server.
Feb 18 10:13:11 ip-172-31-5-188.eu-west-1.compute.internal systemd[1]: Unit httpd.service entered failed state.
Feb 18 10:13:11 ip-172-31-5-188.eu-west-1.compute.internal systemd[1]: httpd.service failed.

Can you help me

]]>
By: Unca Alby https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-45774 Sun, 11 Jun 2017 20:06:39 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-45774 In reply to Unca Alby.

The “VirtualHost” tags were cleaned out — let’s try this:

NameVirtualHost *:443

<VirtualHost *:443>
ServerName domain1.com

<VirtualHost *:443>
ServerName domain2.com

]]>
By: Unca Alby https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-45773 Sun, 11 Jun 2017 20:04:38 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-45773 Thank you sir.

The only thing we needed to change from what we had was:

NameVirtualHost *:443

ServerName domain1.com

ServerName domain2.com

Everything else we had was already OK.

THANK YOU!

]]>
By: admin https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-45652 Wed, 03 May 2017 13:39:43 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-45652 In reply to Basil.

Make sure that port 443 is available to use on your machine. You can use the command ‘netstat -tnlp’ to check which service is using the port.

Thanks.

]]>
By: Basil https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-45648 Wed, 03 May 2017 05:37:28 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-45648 I did the same as above but showing the below error:

What may be causing the issue?

Error: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

]]>
By: Ken https://www.rosehosting.com/blog/how-to-set-up-multiple-ssl-certificates-on-a-centos-vps-with-apache-using-one-ip-address/#comment-45259 Mon, 16 Jan 2017 17:57:10 +0000 https://secure.rosehosting.com/blog/?p=3704#comment-45259 I’d love to see this expanded to use the new certbot system from EFF to supply and renew the certificates automatically.

]]>