当前位置:网站首页>负载均衡添加ssl证书
负载均衡添加ssl证书
2022-07-17 05:02:00 【dzl84394】
买证书是个很容易的事情,大多是回扣的狂欢,和我等程序员没啥关系
拿到证书,是一个邮件
您的SSL证书:
-----BEGIN CERTIFICATE-----
略
-----END CERTIFICATE-----
SSL证书链:
-----BEGIN CERTIFICATE-----
略
-----END CERTIFICATE-----
到某云的负载均衡的证书管理页面添加证书
输入公钥,没问题,输入私钥的时候,出问题了
因为私钥有加密格式,非加密格式,有的平台是认的,有的平台不认
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,2略
pUjF2sK.......略
比示例多几行,直接报错
私钥只支持base64字符集
如果直接删掉,点击保存的时候一直报错
Message : 参数ServerCertificate的格式不正确,请修改格式后重试。
Code : KeyFormatError
对内行来说可能很容易,但是我们这些外行来说,就很迷了
某云和ssl证书的技术支持,都没发现问题,
后来终于有其他技术支持想明白,秘钥有加密的和未加密的2种
我这个是加密的,某云只支持未加密的
需要转换私钥
$ openssl rsa -in key.key -out new.key
Enter pass phrase for key.key: 输入生成私钥的时候密码
writing RSA key
就拿到一个新私钥
上传上去就成功了
ps: 过了1年,再一次买证书,代理商已经为某云专门做了处理,不在有这个问题了
边栏推荐
- Unit UMP Packaging Black Screen issue Summary
- 【TA-霜狼_may-《百人计划》】基础渲染光照介绍(一)
- 赚钱大师小程序【最新版5.9.9】商城/佣金即时提现/分销推广/话费充值/美团饿了么外卖
- Extreme video compression using the pellet toolbox
- 高等数学笔记:伍月习题选集
- Efficient insertion of references in word with thousands of words and many pictures
- 知识图谱de构建与应用(七):大规模知识图谱预训练
- py3 redis通用调用
- 高等数学笔记:复合函数的二阶导数与参数方程求解曲率
- TiDB 性能优化概述
猜你喜欢

ThinkPHP official website tutorial
![[unity] interactive double click](/img/28/8c9c3dd9de413ff8e6373ea111b04f.png)
[unity] interactive double click
![Service end interface test - test point of interface test [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]](/img/62/ae0d6f5654c1352437ac99947d25e4.png)
Service end interface test - test point of interface test [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]

Wildfly: how to call EJBs from EJBs located in another application

Unit UMP Packaging Black Screen issue Summary

Emqx pressure test tread pit for your reference

OLTP 负载性能优化实践
![Fudan micro fmql (domestic zynq) [PS of IAR bare metal development] - non byte aligned access](/img/e7/8349da2c240ac8f51524e5e51bd4d6.png)
Fudan micro fmql (domestic zynq) [PS of IAR bare metal development] - non byte aligned access

mysql主从架构和读写分离、以及高可用架构

Constraints on MySQL tables (Basics)
随机推荐
Mongo Db单机版的安装和快速使用
记录一次存储过程批量修改表结构
Overview of CKS core knowledge points
shardingsphere的核心概念和快速实战
Notes for Resume Writing
npm安装教程
MySQL必知必会!!!看这一篇就足够了!!!
Only when the data analysis report is written in this way can we really understand the data
Emqx pressure test tread pit for your reference
邮箱发送邮件(包含附件,网易、QQ)
Redis cluster interview questions
shardingsphere内核原理
Record a stored procedure to batch modify the table structure
Kubernetes 的监控与告警
Database learning notes (I) retrieval data
CKS 核心知识点概述
Tasking new aurix tc37x demo project
Mongo Db聚合操作和索引
Problems encountered by Sphinx
ThreadLocal线程安全示例及其原理