PKI production ready
This commit is contained in:
parent
f8a6bc40a7
commit
699af46e01
2 changed files with 15 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue