.Net Core使用jexus配置https

1. 导入ssl证书,参考如下:

https://www.linuxdot.net/bbsfile-2970

https://blog.csdn.net/u010584641/article/details/79499827

https://cloud.tencent.com/document/product/400/4143

下面这个也可作为参考:
https://www.cnblogs.com/quan01994/archive/2017/02/24/6438522.html

2. 重启nginx:

https://www.cnblogs.com/codingcloud/p/5095066.html

3. 如果遇到error:nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in..., 参考:

https://www.cnblogs.com/ghjbk/p/6744131.html

4. 如果遇到error: 0:80 failed (98: Address already in use), 参考:

https://blog.csdn.net/zyhlearnjava/article/details/71908529

5. 如果遇到遇到防火墙问题, 参考:

https://blog.csdn.net/Joe68227597/article/details/75207859

https://www.cnblogs.com/moxiaoan/p/5683743.html

6. 如果遇到error:nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use)

https://blog.csdn.net/ai2000ai/article/details/55506481

[root@VM_0_6_centos sbin]# lsof -i:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mono 23271 root 5u IPv4 76957 0t0 TCP *:http (LISTEN)
mono 23353 root 5u IPv4 76957 0t0 TCP *:http (LISTEN)
[root@VM_0_6_centos sbin]# kill -9 23271
[root@VM_0_6_centos sbin]# kill -9 23353
-bash: kill: (23353) - No such process
[root@VM_0_6_centos sbin]# lsof -i:80
[root@VM_0_6_centos sbin]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
[root@VM_0_6_centos sbin]# lsof -i:80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 17360 root 6u IPv4 1000767 0t0 TCP *:http (LISTEN)
nginx 17361 nobody 6u IPv4 1000767 0t0 TCP *:http (LISTEN)
[root@VM_0_6_centos sbin]# ps aux|grep nginx
root 17360 0.0 0.0 19412 864 ? Ss 14:10 0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
nobody 17361 0.0 0.1 21888 1624 ? S 14:10 0:00 nginx: worker process
root 17554 0.0 0.0 112676 660 pts/0 D+ 14:12 0:00 grep --color=auto nginx
[root@VM_0_6_centos sbin]#

原文地址:https://www.cnblogs.com/bingle/p/9821422.html