Repo created
This commit is contained in:
parent
6e9a0d01ce
commit
7ee9806fba
2415 changed files with 312708 additions and 2 deletions
9
Resources/certificate/generate.sh
Normal file
9
Resources/certificate/generate.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
rm localhost.*
|
||||
|
||||
# Add compatibility for MINGW
|
||||
kernel=$(uname -s)
|
||||
if [[ $kernel == MINGW* ]]; then
|
||||
export MSYS_NO_PATHCONV=1
|
||||
fi
|
||||
|
||||
openssl req -x509 -out localhost.crt -keyout localhost.key -newkey rsa:2048 -nodes -sha256 -days 1126 -subj /CN=localhost -extensions EXT -config ssl.conf
|
||||
15
Resources/certificate/ssl.conf
Normal file
15
Resources/certificate/ssl.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[dn]
|
||||
CN=localhost
|
||||
[req]
|
||||
distinguished_name = dn
|
||||
[EXT]
|
||||
subjectAltName=@alternate_names
|
||||
keyUsage=digitalSignature
|
||||
extendedKeyUsage=serverAuth
|
||||
basicConstraints=CA:true
|
||||
[alternate_names]
|
||||
DNS.1=localhost
|
||||
DNS.2=*.doubleclick.net
|
||||
DNS.3=*.g.doubleclick.net
|
||||
IP.1=127.0.0.1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue