随笔分类 - https密码学
摘要:ssh配置公私钥远程登录Linux主机 ssh-keygen cat id_rsa.pub >>authorized_keys cat authorized_keys 拿下id_rsa https://blog.csdn.net/lynnyq/article/details/79109992 2.s
阅读全文
摘要:meta标签处理http、https跨域 <!-- 将http请求转成https请求 --> <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 参考:https://blog.csdn.ne
阅读全文
摘要:尝试分析 首先根据提示,我判断是CA证书过期。于是对证书进行了更新 update-ca-trust 但是依然没有解决问题。之后,尝试了很多方法后,重新回来想想,为什么不适用curl -v来获取更多信息呢?于是使用该命令进行再次尝试。 [root@localhost ~]# curl https://
阅读全文
摘要:p12转keystorekeytool -v -importkeystore -srckeystore temp.p12 -srcstoretype PKCS12 -destkeystore temp.keystore -deststoretype JKSpem转p12openssl pkcs12
阅读全文
摘要:基本架构: nginx(192.168.116.198) client >keepalived(116.200) > tomcat (192.168.116.101,192.168.116.100) nginx(192.168.116.199) keepalived的配置文件/etc/keepali
阅读全文
摘要:在创建密钥时下载并保管好私钥文件template.pem,下面通过此文件登录centos6-vm。 ssh -i <key-path>/template.pem centos@172.17.24.97 例: ssh root@172.17.9.78 --以root用户登录相应cloudstack-a
阅读全文
摘要:client (有w的公钥) < > website (公钥+私钥) | | | | - -- hack 目的:公私钥保证数据安全 数字签名为了保证数据完整 client 访问website得到证书,用证书加密数据,website得到数据后用私钥解密 website用私钥加密,发送给client,得
阅读全文