Re: [web2py] Nginx + SSL certificates for two different apps

2018-04-18 Thread Richard Vézina
Here how I achieved it with openssl : openssl req -new -days 730 -sha256 -key NAME.key -subj "/.../CN=*. DOMAIN.COM/emailAddress=yourem...@domain.com" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:sub1.DOMAIN.COM ,DNS:sub2.DOMAIN.COM,DNS:sub3.DOMAIN.COM,DNS:s

Re: [web2py] Nginx + SSL certificates for two different apps

2018-04-18 Thread Richard Vézina
You have to use multiple subdomain certificate... Look at SNI certificate configuration... I will have a look at how I achieve that. On Wed, Apr 18, 2018 at 6:16 AM, dirman wrote: > I need help setting two SSL certificates for two different apps on one > instance of web2py. > kindly include th

[web2py] Nginx + SSL certificates for two different apps

2018-04-18 Thread dirman
I need help setting two SSL certificates for two different apps on one instance of web2py. kindly include the config file if you can help me. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web