随笔分类 -  nginx

摘要:创建rootCA证书 cd ~ && mkdir mycert cd mycert openssl genrsa -des3 -out rootCA.key 2048 openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 - 阅读全文
posted @ 2023-02-22 10:37 小维江湖 阅读(65) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash # filename checkSSLCertificate.sh # 使用方法 checkSSLCertificate.sh domain server_ip echo | openssl s_client -showcerts -servername $1 -connec 阅读全文
posted @ 2023-02-21 17:36 小维江湖 阅读(35) 评论(0) 推荐(0) 编辑
摘要:后端有多个https服务,不同域名请求要把流量打到同的后端服务。 前提条件:每个服务的https证书需要包含域名信息。 #!/bin/bash docker run -d --name nginx \ -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf \ -p 4 阅读全文
posted @ 2022-09-14 22:06 小维江湖 阅读(801) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
more_horiz
keyboard_arrow_up light_mode palette
选择主题