Apache SSL on Alpine Linux
71
docker run -d -p <local port>:80 -p <other local port>:443 paulocorreia/alpine_apache_ssl:1.0
<local port> = Ex 8080
<other local port> = Ex 8443
http://localhost:<local port>
https://localhost:<other local port>
If <local port> is 80 you can omit
If <other local port> is 443 you can omit
If you see "It works on Docker SSL!" is OK
Download certificate
http://localhost:<other local port>/localhost.crt
To correct the certificate on your browser import localhost.crt on Ceriticates - Authorities
Close the tab or browser reopen https://localhost:<other local port> and you see "It works on Docker SSL!" is OK
Content type
Image
Digest
Size
5.4 MB
Last updated
over 6 years ago
docker pull paulocorreia/alpine_apache_ssl:1.0