生成自簽名根證書
MAC 生成證書
openssl genrsa -des3 -out server.key 2048
openssl req -new -x509 -key server.key -out server.crt -days 365
openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt
windows 簽名證書
C:\Users\qoo7972365\Desktop\tools\cert>signtool.exe sign /f server.pfx /p 0984456716 /td SHA256 /fd SHA256 /tr http://timestamp.sectigo.com C:\Users\qoo7972365\Desktop\CQNUWESF.go.exe
Comments