mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 07:24:52 +01:00
custom launcher UI
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
# Become a Certificate Authority
|
||||
######################
|
||||
|
||||
set +e
|
||||
|
||||
# Generate private key
|
||||
openssl genrsa -des3 -out myCA.key 2048
|
||||
# Generate root certificate
|
||||
@@ -12,7 +14,7 @@ openssl req -x509 -new -nodes -key myCA.key -sha256 -days 825 -out myCA.pem
|
||||
# Create CA-signed certs
|
||||
######################
|
||||
|
||||
NAME=mydomain.example # Use your own domain name
|
||||
NAME=nikkedomains # Use your own domain name
|
||||
# Generate a private key
|
||||
openssl genrsa -out $NAME.key 2048
|
||||
# Create a certificate-signing request
|
||||
@@ -27,6 +29,7 @@ subjectAltName = @alt_names
|
||||
DNS.1 = *.nikke-kr.com
|
||||
DNS.2 = aws-na-dr.intlgame.com
|
||||
DNS.3 = *.intlgame.com
|
||||
DNS.4 = *.playerinfinite.com
|
||||
IP.1 = 192.168.3.13 # Optionally, add an IP address (if the connection which you have planned requires it)
|
||||
EOF
|
||||
# Create the signed certificate
|
||||
@@ -37,4 +40,12 @@ openssl x509 -req -in $NAME.csr -CA myCA.pem -CAkey myCA.key -CAcreateserial \
|
||||
openssl pkcs12 -export -out myCA.pfx -inkey myCA.key -in myCA.pem
|
||||
|
||||
# Convert site cert to pfx
|
||||
openssl pkcs12 -export -out site.pfx -inkey mydomain.example.key -in mydomain.example.crt
|
||||
openssl pkcs12 -export -out site.pfx -inkey $NAME.key -in $NAME.crt
|
||||
|
||||
# copy certs
|
||||
cp site.pfx nksrv/site.pfx
|
||||
cp myCA.pem ServerSelector/myCA.pem
|
||||
cp myCA.pfx ServerSelector/myCA.pfx
|
||||
|
||||
# clean up
|
||||
rm nikkedomains* myCA*
|
||||
Reference in New Issue
Block a user