当前位置: 首页 > wzjs >正文

怎么和其他网站交换友情链接下载百度网盘

怎么和其他网站交换友情链接,下载百度网盘,wordpress+移动客户端,做网站维护累吗文章目录前言一、申请证书二、转换证书2.1 设置强密码2.2 转换成.p12文件三、配置gateway网关四、重启网关五、验证总结前言 设: 网址:bztc.website 网关地址:bztc.website:10086 一、申请证书 申请证书后,会有如下文件&#xf…

文章目录

  • 前言
  • 一、申请证书
  • 二、转换证书
    • 2.1 设置强密码
    • 2.2 转换成.p12文件
  • 三、配置gateway网关
  • 四、重启网关
  • 五、验证
  • 总结


前言

设:
网址:bztc.website
网关地址:bztc.website:10086


一、申请证书

申请证书后,会有如下文件:
bztc.website.crt
bztc.website.key

二、转换证书

转换成bztc.website.p12文件。

2.1 设置强密码

密码尽可能复杂。

openssl rand -base64 16
# 示例输出:fD8tYjW7k3K2mN8zT4w0ZA==

2.2 转换成.p12文件

在服务器上执行:

openssl pkcs12 -export \-in bztc.website.crt \-inkey bztc.website.key \-out bztc.website.p12 \-name bztc.website \-passout pass:fD8tYjW7k3K2mN8zT4w0ZA==

然后当前目录会生成bztc.website.p12文件:
在这里插入图片描述

三、配置gateway网关

配置yaml文件:

server:ssl:key-store: /root/bztc-gateway/cert/bztc.website.p12key-store-password: fD8tYjW7k3K2mN8zT4w0ZA==key-store-type: PKCS12
spring:cloud:# 网关配置gateway:# 微服务名称配置discovery:locator:enabled: true # 设置为true 请求路径前可以添加微服务名称(开启微服务发现功能)lower-case-service-id: true # 将请求路径上的服务名配置为小写globalcors:corsConfigurations:'[/**]':allowedOrigins:- "https://bztc.website"allowedMethods:- GET- POSTallowedHeaders:- "*"allowCredentials: true

四、重启网关

五、验证

执行:

openssl s_client -connect bztc.website:10086

会输出如下内容:

CONNECTED(00000003)
depth=3 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
verify return:1
depth=2 C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication Root R46
verify return:1
depth=1 C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication CA DV R36
verify return:1
depth=0 CN = bztc.website
verify return:1
---
Certificate chain0 s:CN = bztc.websitei:C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication CA DV R361 s:C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication CA DV R36i:C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication Root R462 s:C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication Root R46i:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGhTCCBO2gAwIBAgIQDuUsPcCGslpPkloIAE4f3zANBgkqhkiG9w0BAQsFADBg
…………………………………………………………
MxQfDEuUqQf7FuhtEvxdLAW4exUecNZM+eOIMpWs0Jv51w53AL3e+Ts=
-----END CERTIFICATE-----
subject=CN = bztc.websiteissuer=C = GB, O = Sectigo Limited, CN = Sectigo Public Server Authentication CA DV R36---
No client certificate CA names sent
Peer signing digest: SHA256
Peer signature type: RSA-PSS
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 5548 bytes and written 394 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
---
Post-Handshake New Session Ticket arrived:
SSL-Session:Protocol  : TLSv1.3……………………………………………………………………………………………………………………………………………………………………………………………………00c0 - ef 43 fb cf 65 ff f3 65-c3 4b 67 c9 06 91 1f 6d   .C..e..e.Kg....m00d0 - 20 18 4c 1c 1b 20 0d 78-51 c0 ef 01 cc be a0 1f    .L.. .xQ.......00e0 - ab 8e b9 20 1b 55 1b 86-80 ea da 73 19 be ee 8c   ... .U.....s....Start Time: 1752073620Timeout   : 7200 (sec)Verify return code: 0 (ok)Extended master secret: noMax Early Data: 0
---
read R BLOCK
---
Post-Handshake New Session Ticket arrived:
SSL-Session:Protocol  : TLSv1.3……………………………………………………………………………………………………………………………………………………………………00c0 - e5 d8 24 15 be b7 8d 36-97 fb a5 7f 05 71 65 6c   ..$....6.....qel00d0 - 1b 1c ac 1a 2f 93 10 d6-09 c9 a9 d0 09 db 49 25   ..../.........I%00e0 - d6 bc a3 19 6d 39 1e fd-45 42 bf 22 78 ed cd 00   ....m9..EB."x...Start Time: 1752073620Timeout   : 7200 (sec)Verify return code: 0 (ok)Extended master secret: noMax Early Data: 0
---
read R BLOCK

最后需保证网关接口可正常访问。


总结

SpringGateway网关增加https证书验证

http://www.dtcms.com/wzjs/194357.html

相关文章:

  • 互联网网站开发合同12月30日疫情最新消息
  • 网站建设怎么跟客服说四川聚顺成网络科技有限公司
  • 通用模板做的网站不收录网络运营怎么学
  • 企业运营系统seo系统培训哪家好
  • 网站banner轮播代码新产品宣传推广策划方案
  • 深圳微商城网站制作联系电话百度网盟广告
  • 网页网站的制作过程品牌网络seo方案外包
  • 个人如何做公益网站网站模板免费
  • 有没有做市场评估的网站网络营销理论
  • 保定网站设计多少钱企业营销管理
  • app网站建设aso100官网
  • 网站的前期调研怎么做如何制作网页教程
  • 长沙网站制作平台足球世界积分榜
  • 网页设计公司兴田德润i简介南宁关键词优化软件
  • 河南免费网站建设公司江苏网站seo营销模板
  • 简述网站开发的几个阶段舆情信息报送
  • 真人做a视频网站搜狗搜索排名优化
  • 一级的网络推广公司seo优化软件有哪些
  • 兼职做国外网站钻前链接平台
  • 北京企业网站设计公司站长工具源码
  • 做一个谷歌网站多少钱千川推广官网
  • 网站空间的根目录深度搜索
  • 六安做网站的公司网页游戏
  • wordpress文档预览功能下载优化大师
  • 多人运动免费正能量网站链接淘宝指数转换工具
  • 深圳企业网站制作公司怎样seo优化服务价格
  • 做暧暧视频网站在线5188关键词挖掘工具
  • 锦州如何做百度的网站磁力宝最佳搜索引擎入口
  • 研发app公司seo推广软件排行榜
  • 永宝网站建设招聘信息深圳广告策划公司