简体   繁体   中英

Using SSL certificate files outside container on Jelastic

My server configuration on Jelastic are one Container with Nginx and another with Node, i don´t have ftp access to the Nginx container only the Node one. I´m trying to use multiple domains with multiple ssl certificates just like I already did with Apache/PHP. But I searched and have no idea of how to make Nginx search for ssl files outside his container.

It is possible to setup multiple SSL on the one NGINX container, but it could be done directly in NGINX configurations only. We would like to recommend you to use our feature - Direct Access to the container . This feature provides the root access inside the container of the environment via SSH connection and will help you to make necessary configurations in an easy way.

After the configuring of NGINX , you can apply the changes without downtime using the command: sudo service nginx reload instead of sudo service nginx restart .

It should be noted that because there is 1 IP in the container, multiple SSL certificates can be served via SNI only. You can read more about SNI in the next article .

We would like to emphasize, that at the moment SNI is supported by all modern OS and browsers and can be used without any inconveniences, except old mobile OS and versions of IE <7 on the MS Windows XP .

Also, as an alternative, you can use SAN certificate, that supports the multiple domains as well, and in this case, the certificate can be added to the NGINX node by Jelastic's BindSSL API method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM