在app.conf中加入以下内容
EnableHTTPS=true
EnableHttpTLS = true
HttpsPort = 443
HTTPSCertFile = "1529917066791.pem" 证书解压后,找到对应后缀
HTTPSKeyFile = "1529917066791.key" 证书解压后,找到对应后缀
注意
证书放在exe输出的同级目录下
参考资料
EnableHTTPS=true
EnableHttpTLS = true
HttpsPort = 443
HTTPSCertFile = "1529917066791.pem" 证书解压后,找到对应后缀
HTTPSKeyFile = "1529917066791.key" 证书解压后,找到对应后缀
证书放在exe输出的同级目录下
参考资料