Skip to content

Commit b30beb7

Browse files
committed
Add subjectAltName to certificate.
Fixes websocket connections in IE/Edge per #6
1 parent 7f95e53 commit b30beb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ant/self-sign.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Platform-independent info used at install time for wss:// signing
22
# Values prefixed with an !exclamation-mark can't be determined until install time
33
jks.cn=localhost
4+
jks.cnalt=localhost.qz.io
45
jks.city=Canastota
56
jks.state=NY
67
jks.country=US
@@ -18,7 +19,7 @@ jks.host=0.0.0.0
1819

1920
jks.keystore=${jks.install}/auth/${project.filename}.jks
2021
jks.keytool=keytool
21-
jks.command=\\"${jks.keytool}\\" -genkey -noprompt -alias ${jks.alias} -keyalg RSA -keysize 2048 -dname \\"CN=${jks.cn}, EMAILADDRESS=${vendor.email}, OU=${jks.company}, O=${jks.company}, L=${jks.city}, S=${jks.state}, C=${jks.country}\\" -validity ${jks.validity} -keystore \\"${jks.keystore}\\" -storepass ${jks.storepass} -keypass ${jks.keypass}
22+
jks.command=\\"${jks.keytool}\\" -genkey -noprompt -alias ${jks.alias} -keyalg RSA -keysize 2048 -dname \\"CN=${jks.cn}, EMAILADDRESS=${vendor.email}, OU=${jks.company}, O=${jks.company}, L=${jks.city}, S=${jks.state}, C=${jks.country}\\" -validity ${jks.validity} -keystore \\"${jks.keystore}\\" -storepass ${jks.storepass} -keypass ${jks.keypass} -ext san=dns:${jks.cnalt}
2223

2324
der.cert=${jks.install}/auth/${project.filename}.crt
2425
der.command=\\"${jks.keytool}\\" -exportcert -alias ${jks.alias} -keystore \\"${jks.keystore}\\" -storepass ${jks.storepass} -keypass ${jks.keypass} -file \\"${der.cert}\\" -rfc

0 commit comments

Comments
 (0)