openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 -subj '/CN=sni-support-required-for-valid-ssl' -keyout /etc/ssl/resty-auto-ssl-fallback.key -out /etc/ssl/resty-auto-ssl-fallback.crt
docker run --rm --name openresty-custom --network host -v /root/openresty/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf -v /root/openresty/openssl.cnf:/etc/ssl/openssl.cnf -v /etc/ssl:/etc/ssl -v /www/test-autossl:/www/test-autossl openresty-custom
openssl s_client -connect test-autossl.ke.wang:443 -servername test-autossl.ke.wang -status -tlsextdebug < /dev/null 2>&1
Content type
Image
Digest
sha256:dbd97d4ec…
Size
233.3 MB
Last updated
10 months ago
docker pull kevinwang15/openresty-fork