Created
March 30, 2019 14:53
-
-
Save kkabetani/73e9f74bd086f8dfd3a5de72fe28e7eb to your computer and use it in GitHub Desktop.
SSL/TLS を使用してapacheにアクセスして通信の中身を見る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM httpd:2.4 | |
COPY ./public-html/ /usr/local/apache2/htdocs/ | |
COPY ./server.crt /usr/local/apache2/conf/ | |
COPY ./server.key /usr/local/apache2/conf/ | |
RUN sed -i \ | |
-e 's/^#\(Include .*httpd-ssl.conf\)/\1/' \ | |
-e 's/^#\(LoadModule .*mod_ssl.so\)/\1/' \ | |
-e 's/^#\(LoadModule .*mod_socache_shmcb.so\)/\1/' \ | |
conf/httpd.conf | |
RUN sed -i \ | |
-e '/^SSLSessionCacheTimeout/d' \ | |
-e 's/^SSLSessionCache.*$/SSLSessionCache none/g' \ | |
-e 's/^SSLCipherSuite.*$/SSLCipherSuite kRSA/g' \ | |
conf/extra/httpd-ssl.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment