python3 openssl_python3.7——openssl升级「建议收藏」

Python3.7使用的openssl为1.0.2版本或1.1以上的版本Centos.9安装openssl1.1版本[root@python3_7soft]#mkdir–p/soft[root@python3_7soft]#cd/soft[root@python3_7soft]#wgethttps://www.openssl.org/source/openssl-1.1.0…

大家好,又见面了,我是你们的朋友全栈君。

Python3.7使用的openssl为1.0.2版本或1.1以上的版本

python3 openssl_python3.7——openssl升级「建议收藏」

Centos .9安装openssl 1.1版本

[root@python3_7 soft]# mkdir –p /soft

[root@python3_7 soft]# cd /soft

[root@python3_7 soft]# wget https://www.openssl.org/source/openssl-1.1.0j.tar.gz

更新zlib

[root@python3_7 soft]# yum install -y zlib

[root@python3_7 soft]# tar zxvf openssl-1.1.0j.tar.gz

python3 openssl_python3.7——openssl升级「建议收藏」

[root@python3_7 soft]# cd openssl-1.1.0j

[root@python3_7 openssl-1.1.0j]# ./config shared zlib

[root@python3_7 openssl-1.1.0j]# make

[root@python3_7 openssl-1.1.0j]# make install

[root@python3_7 openssl-1.1.0j]# mv /usr/bin/openssl /usr/bin/openssl.bak

[root@python3_7 openssl-1.1.0j]# mv /usr/include/openssl /usr/include/openssl.bak

[root@python3_7 openssl-1.1.0j]# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

[root@python3_7 openssl-1.1.0j]# ln -s /usr/local/ssl/include/openssl /usr/include/openssl

在/etc/ld.so.conf文件中写入openssl库文件的搜索路径

[root@python3_7 openssl-1.1.0j]# echo “/usr/local/lib64” >> /etc/ld.so.conf

使修改后的/etc/ld.so.conf生效,

[root@python3_7 openssl-1.1.0j]# ldconfig -v

查看是否升级成功

[root@python3_7 openssl-1.1.0j]# openssl version

OpenSSL 1.1.0j  20 Nov 2018

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/129210.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • java使用allure_allure基本使用

    java使用allure_allure基本使用应用记录时间:2020-10-23问题一:使用alluregenerateresult-oreport,java执行错误。原因:在使用allure.attach()时,name传了一个dict对象导致报错(name应该是一个String类型)问题二:使用pytest–alluredirresult,alluregenerateresult-oreport。html报告中会输出…

    2022年7月26日
    26
  • python dll注入 网络_dll注入

    python dll注入 网络_dll注入一、什么是dll​动态链接库(DynamicLinkLibrary或者Dynamic-linkLibrary,缩写为DLL)​是微软公司在微软Windows操作系统中,实现共享函数库概念的一种方式。​这些库函数的扩展名是”.dll”、”.ocx”(包含ActiveX控制的库)或者”.drv”(旧式的系统驱动程序)。pip3install二、为何要有dll​…

    2022年5月13日
    43
  • vue调用微信支付接口_vue获取api数据渲染

    vue调用微信支付接口_vue获取api数据渲染1,下载对应的组件包  cnpminstallweixin-js-sdk2,在vue的main中引入并将其挂在到vue实例上    importwxfrom’weixin-js-sdk’    Vue.prototype.wx=wx3,各个组件中如果需要使用的话  输出一下this.wx就可以知道是否能掉到wx的API了…

    2022年10月3日
    0
  • 求逆矩阵 —— LU分解法「建议收藏」

    求逆矩阵 —— LU分解法「建议收藏」LU分解:算法步骤:1.将A矩阵分解为L下三角矩阵和U上三角矩阵。step1.L对角线填充为1step2.step3.step4.U是按行迭代计算,L是按列迭代计算,UL交错计算,且U先L一步fork=1tom-1:{}2.分别对L和U求逆,得到Linv和Uinv.step1….

    2022年8月21日
    12
  • 图形界面JAVA_aardio plus

    图形界面JAVA_aardio plus前阵子在用python写一些小程序,写完后就开始思考怎么给python程序配一个图形界面,毕竟控制台实在太丑陋了。于是百度了下python的图形界面库,眼花缭乱的一整页,拣了几件有“特色”有“噱头”的下载下来做了个demo,仍旧不是很满意,不是下载安装繁琐,就是界面丑陋或者难写难用,文档不齐全。后来那天,整理电脑文件发现了6年前下载的aatuo(现已更名aardio),顿时一阵惊喜。先说说aard…

    2022年10月23日
    0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号