doupoa
一个不甘落后的热血青年!
Ping通途说

解决问题
文章归档

OpenSSL自建CA及证书签发

1.创建生成目录 # mkdir -p ./demoCA/{private,newcerts} # touch ./demoCA/index.txt # echo 01 > ./demoCA/serial 2.创建CA证书密钥对及生成CA证书 # openssl req -new -x509 -days 365 -key ./demoCA/private/cakey.pem -out ./demoCA/cacert.pem …

   2,240   2023-04-06   0 阅读更多

Python-rsa.pkcs1.DecryptionError: Decryption failed

问题描述: 前端使用 JSEncrypt 对数据进行 RSA 加密后经 axios 传回Python后端,当后端进行解密时发生以下错误: ... File "C:\Users\wei\Desktop\MiniPlayer-Server\.\utils\security.py", line 57, in rsa_decrypt return rsa.decrypt(data,key).de…

   2,450   2022-11-07   0 阅读更多

【问题解决】Linux下配置Python3软链失败(ln: failed to create symbolic link '/usr/bin/python3': File exists)

查看linux软链的存放位置: cd /usr/bin 查看Python现有的软链指向: ls -al python 尝试建立新的软连接: ln -s /usr/local/python3/bin/python3.10 /usr/bin/python3 建立时提示如下报错信息: ln: failed to create symbolic link '/usr/b…

   5,387   2022-02-13   0 阅读更多

Optimized by WPJAM Basic