Skip to content

Instantly share code, notes, and snippets.

@kkabetani kkabetani/Dockerfile
Created Mar 30, 2019

What would you like to do?
SSL/TLS を使用してapacheにアクセスして通信の中身を見る
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 .*\)/\1/' \
-e 's/^#\(LoadModule .*\)/\1/' \
RUN sed -i \
-e '/^SSLSessionCacheTimeout/d' \
-e 's/^SSLSessionCache.*$/SSLSessionCache none/g' \
-e 's/^SSLCipherSuite.*$/SSLCipherSuite kRSA/g' \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.