We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Installing SSL Certificate on multiple websites
-
- Posts: 6
- Joined: Sat Jun 25, 2016 1:38 am
Installing SSL Certificate on multiple websites
Hello,
I've changed the binding from 8083 to 443 for the vesta admin panel and it is working fine with the SSL certificate.
I am trying to enable SSL and installing an SSL certificate for the virtual hosts that I have but each time I enable SSL I am getting "Nginx restart failed" and it is showing stopped. However, looking deeper I can see that nginx is listening to 443 and cannot add adding another process is not allowed.
I have only 1 IP.
is there any workaround for this ?
Thanks,
I've changed the binding from 8083 to 443 for the vesta admin panel and it is working fine with the SSL certificate.
I am trying to enable SSL and installing an SSL certificate for the virtual hosts that I have but each time I enable SSL I am getting "Nginx restart failed" and it is showing stopped. However, looking deeper I can see that nginx is listening to 443 and cannot add adding another process is not allowed.
I have only 1 IP.
is there any workaround for this ?
Thanks,
Re: Installing SSL Certificate on multiple websites
Hi mohabutaleb
You cant use the same port (443) twice on the same ip, that's because you get the nginx restart failure. You have to change back the vestacp port to 8083 or add an additional ip address.
Best Regards
Raphael
You cant use the same port (443) twice on the same ip, that's because you get the nginx restart failure. You have to change back the vestacp port to 8083 or add an additional ip address.
Best Regards
Raphael
-
- Posts: 11
- Joined: Thu Dec 15, 2016 2:54 pm
Re: Installing SSL Certificate on multiple websites
How i can do this?
Re: Installing SSL Certificate on multiple websites
As Raphael said, you can't have two app binding to the same port on the same IP. The best solution is: if you can't add additional IP then move Vesta back to port 8083 or some other port. Why does it matter that it has to be on 443?
If you still insist, the hack is to bind vesta to 127.0.0.1 and port 8083. This mean it is not publicly accessible. Then proxy your nginx to 127.0.0.1:newport. Though, this is still very bad because you will get disconnect from Vesta every time nginx restart or cannot be start.
If you still insist, the hack is to bind vesta to 127.0.0.1 and port 8083. This mean it is not publicly accessible. Then proxy your nginx to 127.0.0.1:newport. Though, this is still very bad because you will get disconnect from Vesta every time nginx restart or cannot be start.