Skip to content

Commit 076730b

Browse files
Michael Vasseurvmcj
Michael Vasseur
authored andcommitted
Add SAN as example for reuse of certificates with different hosts
1 parent 524d16a commit 076730b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provision-contest/ansible/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ $(SSHKEY) $(SSHKEY).pub:
6666

6767
$(SSL_DOMSERVER_FILES):
6868
openssl req -x509 -nodes -newkey rsa:4096 -subj "/O=DOMjudge/CN=domjudge" \
69+
-addext "subjectAltName = DNS:wf46-domjudge,DNS:wf47-domjudge,DNS:analyst" \
6970
-sha256 -days 365 -keyout $(SSL_DOMSERVER).key -out $(SSL_DOMSERVER).crt
7071
$(SSL_LOCALHOST_FILES):
7172
openssl req -x509 -nodes -newkey rsa:4096 -subj "/O=DOMjudge/CN=localhost" \

0 commit comments

Comments
 (0)