Преглед изворни кода

feat(www): adds subjectAltName to self-signed "autocert" certs

(This is relevant for development/testing only.)
Nils Wisiol пре 4 година
родитељ
комит
45a721672f
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      www/entrypoint.sh

+ 2 - 1
www/entrypoint.sh

@@ -44,7 +44,8 @@ if [ ! -z "$FILES_MISSING" ] ; then
                 -x509 \
                 -days 1\
                 -out $DOMAIN.cer \
-                -subj "/C=DE/ST=Berlin/L=Berlin/O=deSEC/OU=autocert/CN=$DOMAIN"
+                -subj "/C=DE/ST=Berlin/L=Berlin/O=deSEC/OU=autocert/CN=$DOMAIN" \
+                -addext "subjectAltName = DNS:$DOMAIN"
 
         done