Centos7升级openssl

升级openssl

1.下载最新版openssl

https://www.openssl.org/source/openssl-1.1.1-pre8.tar.gz

2.编译安装

cd openssl-1.1.1-pre8
./config --prefix=/usr/local/openssl no-zlib #不需要zlib
make
make install

3.备份原配置

[root@s2-hadoop-test ~]# mv /usr/bin/openssl /usr/bin/openssl.bak

[root@s2-hadoop-test ~]

# mv /usr/include/openssl/ /usr/include/openssl.bak

4.新版配置

#将安装好的openssl 的openssl命令软连到/usr/bin/openssl

[root@s2-hadoop-test ~]

# ln -s /usr/local/openssl/include/openssl /usr/include/openssl#软链到升级后的libssl.so

[root@s2-hadoop-test ~]

# ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/local/lib64/libssl.so#将安装好的openssl命令软连到/usr/bin/openssl ln –s /usr/local/openssl/bin/openssl /usr/bin/openssl

5.修改系统配置

#写入openssl库文件的搜索路径
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
#使修改后的/etc/ld.so.conf生效 
ldconfig -v

6.查看openssl版本

openssl version
OpenSSL 1.1.1-pre8 (beta) 20 Jun 2018

重新安装python

注意:需要指定openssl的安装路径,--with-openssl

./configure --prefix=/usr/local/python37 --with-openssl=/usr/local/openssl
make
make install
分享到:

82 条评论

昵称
  1. Woah! I’m really digging the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s difficult
    to get that “perfect balance” between user friendliness and appearance.
    I must say that you’ve done a excellent job with this.
    Also, the blog loads super fast for me on Opera.
    Excellent Blog!

  2. Hey There. I found your blog using msn. This is an extremely well written article.
    I’ll make sure to bookmark it and come back to read
    more of your useful information. Thanks for the post. I’ll definitely return.

  3. If you would like to grow your know-how only keep visiting this site and be updated with the most recent information posted here.

  4. Thank you for any other informative blog. Where else may I am getting that kind of info written in such a perfect means?
    I’ve a project that I’m simply now working on, and I’ve been at
    the look out for such info.

  5. ETIAS

    Nice replies in return of this difficulty with real arguments
    and describing all on the topic of that.

  6. Article writing is also a fun, if you know after that
    you can write if not it is complex to write.

  7. minecraft games

    Oh my goodness! Impressive article dude! Thank you so much, However
    I am having troubles with your RSS. I don’t understand the reason why I can’t join it.
    Is there anyone else getting the same RSS problems? Anybody
    who knows the solution will you kindly respond?

    Thanks!!

  8. Oh my goodness! Amazing article dude! Thank you,
    However I am experiencing problems with your RSS.
    I don’t know why I cannot join it. Is there anybody else getting the
    same RSS issues? Anybody who knows the solution can you kindly respond?
    Thanks!!

  9. minecraft games

    This excellent website truly has all of the information I needed about this subject and didn’t know who to ask.

  10. minecraft games

    Good day I am so happy I found your webpage, I really found you by mistake,
    while I was searching on Bing for something else, Anyways I am here now and would just like to say thanks for a incredible post and a all round interesting blog (I
    also love the theme/design), I don’t have time to look
    over it all at the minute but I have saved it and also added your RSS feeds, so when I
    have time I will be back to read a lot more, Please do keep up the superb job.

  11. minecraft games

    Hello every one, here every one is sharing such knowledge, so it’s fastidious to read
    this weblog, and I used to go to see this website
    all the time.

  12. minecraft games

    This is the right site for anyone who wishes to find out about this topic.
    You understand so much its almost tough to argue with you (not
    that I personally will need to…HaHa). You certainly put a new spin on a topic which has been discussed for a long time.
    Wonderful stuff, just wonderful!

  13. boitlysistiaple

    rwa [url=https://turbohempcbd.com/#]cbd oil prices[/url]
    nos [url=https://turbohempcbd.com/#]hemp oil for pain[/url]

  14. TittysGedLore

    XRumer19.0+XEvil4.0:创新的软件解决方案,用于破解任何验证码

    1. 强大的Neuronets:XEvil OCR可以解决超过12000种不同类型的验证码,
    包括这样的流行,像谷歌验证码的ReCaptcha v2,v3(在XEvil4.0超只!),Captcha.Com,SolveMedia,必应验证码,
    Facebook的-验证码和Ucoz-验证码,Yandex的验证码,DLE-验证码,VBulletin-验证码,还有很多其他类型的!

    2. 极高的速度和精度:识别速度0.01。. 每张图片0.02秒(但在演示版本中只有1秒!),
    XEvil可以绕过并解决高精度captcha的广泛类型,
    不取决于难度,失真,噪音,字体,颜色。

    例外是谷歌验证码-2-每个解决方案约20-30秒:
    在ReCaptcha-2上,它需要点击大量的图像,并有特殊的延迟。

    3. 非常简单的用户界面:只需3个主按钮即可开始识别,
    因此,它很容易与搜索引擎优化,SMM,分析一个广泛的幽灵程序使用,
    批量自动注册/发布/发送/发布/加密货币挖掘计划。

    有兴趣吗? 😉
    只要做搜索在谷歌”XEvil免费”。
    免费试用版可用!

    感谢您的关注! 😉

  15. Spot on with this write-up, I seriously think this web site needs
    much more attention. I’ll probably be back again to read more,
    thanks for the information!

  16. Excellent beat ! I wish to apprentice even as you
    amend your web site, how can i subscribe for a weblog website?
    The account aided me a applicable deal. I have been tiny bit acquainted of this your broadcast offered vibrant
    clear concept

  17. Appreciate the recommendation. Will try it out.

  18. I’m not sure exactly why but this website is loading very slow for me.
    Is anyone else having this issue or is it a problem on my end?
    I’ll check back later on and see if the problem still exists.

  19. minecraft games

    What’s Happening i am new to this, I stumbled upon this I have discovered It positively useful and it has aided
    me out loads. I hope to give a contribution & aid different users like its helped me.
    Great job.

  20. Yesterday, while I was at work, my cousin stole my iPad and tested to see if it can survive a thirty foot drop, just so she can be
    a youtube sensation. My iPad is now broken and she has
    83 views. I know this is entirely off topic but I had to share it with someone!

  21. plenty of fish dating site

    I absolutely love your blog and find almost all of your post’s to be just what I’m looking for.
    Do you offer guest writers to write content available for you?

    I wouldn’t mind writing a post or elaborating on some of the
    subjects you write related to here. Again, awesome weblog!

  22. plenty of fish dating site

    Truly when someone doesn’t understand afterward its up to
    other users that they will assist, so here it happens.