PKI production ready

This commit is contained in:
nemunaire 2015-01-16 15:05:31 +01:00 committed by Nemunaire
commit 699af46e01
2 changed files with 15 additions and 6 deletions

View file

@ -21,7 +21,9 @@ VOLUME ["/var/www/fic-server/PKI"]
WORKDIR /var/www/fic-server/pki
CMD bash ./CA.sh -newca && \
bash ./CA.sh -newserver && \
openssl dhparam -check -5 4096 -out /var/www/fic-server/shared/params.4096 && \
bash ./CA.sh -gencrl
ENTRYPOINT bash ./CA.sh -newca && \
bash ./CA.sh -newserver "$1" && \
openssl dhparam -check -5 4096 -out /var/www/fic-server/shared/params.4096 && \
bash ./CA.sh -gencrl
CMD 127.0.0.1