mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-20 01:34:47 +00:00
* [SSL] Adjustment: Lower cert lifetime. Browsers max lifespan only allow for 398 days now
This commit is contained in:
parent
9466af400d
commit
1015e4b8d4
|
|
@ -43,7 +43,7 @@ WORKDIR /opt/node_app
|
||||||
#USER node
|
#USER node
|
||||||
|
|
||||||
# Generate a localhost cert
|
# Generate a localhost cert
|
||||||
RUN openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout /localcert/key.pem -out /localcert/cert.pem -subj "/C=US/ST=New Jersey/L=Warren/O=localhost/OU=IT/CN=127.0.0.1"
|
RUN openssl req -newkey rsa:2048 -new -nodes -x509 -days 360 -keyout /localcert/key.pem -out /localcert/cert.pem -subj "/C=US/ST=New Jersey/L=Warren/O=localhost/OU=IT/CN=127.0.0.1"
|
||||||
|
|
||||||
|
|
||||||
ENV PATH /opt/node_app/node_modules/.bin:$PATH
|
ENV PATH /opt/node_app/node_modules/.bin:$PATH
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue