您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
784 B

#/bin/bash
#rm ./gpo-repositories.xml
#wget http://gpo.zugaina.org/lst/gpo-repositories.xml &&
#openssl req -new -x509 -keyout localhost.pem -out localhost.pem -nodes -days 365
2 年前
#openssl req -new -x509 -keyout localhost.pem -out localhost.pem -days 365 -nodes
#openssl req -x509 -out localhost.pem -keyout localhost.key \
#
# latsed gen localhost.pem for https://
#openssl req -x509 -nodes -new -sha512 -days 365 -newkey rsa:4096 -keyout ca.key -out localhost.pem -subj "/C=US/CN=MY-CA"
# -newkey rsa:2048 -nodes -sha256 \
# -subj '/CN=localhost' -extensions EXT -config <( \
# printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhost\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
python3 server.py
#python client.py