Sign inSign up

paulocorreia/alpine_apache_ssl

By paulocorreia

Updated over 6 years ago

Apache SSL on Alpine Linux

Image
0

71

paulocorreia/alpine_apache_ssl repository overview

Apache SSL on Docker (Alpine Linux Image)

Get from docker hub

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

Open Browser

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

Tag summary

Content type

Image

Digest

Size

5.4 MB

Last updated

over 6 years ago

docker pull paulocorreia/alpine_apache_ssl:1.0