Update to go1.15
This commit is contained in:
parent
ca6b46533a
commit
eecc2f4dd7
22 changed files with 371 additions and 369 deletions
48
integration/fixtures/https/generate_cert.sh
Normal file
48
integration/fixtures/https/generate_cert.sh
Normal file
|
@ -0,0 +1,48 @@
|
|||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out snitest.com.cert \
|
||||
-keyout snitest.com.key \
|
||||
-subj "/CN=snitest.com" \
|
||||
-addext "subjectAltName = DNS:snitest.com"
|
||||
|
||||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out www.snitest.com.cert \
|
||||
-keyout www.snitest.com.key \
|
||||
-subj "/CN=www.snitest.com" \
|
||||
-addext "subjectAltName = DNS:www.snitest.com"
|
||||
|
||||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out snitest.org.cert \
|
||||
-keyout snitest.org.key \
|
||||
-subj "/CN=snitest.org" \
|
||||
-addext "subjectAltName = DNS:snitest.org"
|
||||
|
||||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out uppercase_wildcard.www.snitest.com.cert \
|
||||
-keyout uppercase_wildcard.www.snitest.com.key \
|
||||
-subj "/CN=FOO.WWW.SNITEST.COM" \
|
||||
-addext "subjectAltName = DNS:*.WWW.SNITEST.COM"
|
||||
|
||||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out wildcard.www.snitest.com.cert \
|
||||
-keyout wildcard.www.snitest.com.key \
|
||||
-subj "/CN=*.www.snitest.com" \
|
||||
-addext "subjectAltName = DNS:*.www.snitest.com"
|
||||
|
||||
openssl req -newkey rsa:2048 \
|
||||
-new -nodes -x509 \
|
||||
-days 3650 \
|
||||
-out wildcard.snitest.com.cert \
|
||||
-keyout wildcard.snitest.com.key \
|
||||
-subj "/CN=*.snitest.com" \
|
||||
-addext "subjectAltName = DNS:*.snitest.com"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue