或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了QAQ。就想着折腾点啥打发时间 看着谷歌的SSL就有了自己折腾一个和谷歌一样前卫的HTTPS的想法
闲话到此为止
支持新版本TLS协议和ECDHE_RSA加密需要最低openssl1.0.1 而CentOS6通过默认源yum安装的openssl版本只有1.0.0 是不支持新版本TLS协议和ECDHE_RSA密钥交换方式的
一开始本想自己编译openssl 后来一想 自己编译会跟系统的openssl脱节 从而产生一些问题。谷歌是最好的老师 搜到了一个自定义源 里面有已经编译好的新版本openssl
导入源【请注意 此源仅支持64位系统。32位系统的抱歉了 暂时无法找到合适的源】
CentOS5 x64:
rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-5-1.noarch.rpm
CentOS6 x64:
rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm
通过源升级安装最新版openssl1.0.1e
yum –enablerepo=axivo update openssl
不出意外的话 确认按一次y 导入KEY按一次y 即可完成安装
此时再输入openssl查看version的话 应该会显示【OpenSSL 1.0.1e 11 Feb 2013】
重新编译nginx
印象中这步是必须的 因为似乎编译时引用了openssl的头文档 需要重新编译
即使不是不是必须的 升级到1.4.1支持spdy协议还是不错的
由于我采用的是lnmp一键包 可以直接使用一键包中的upgrade_nginx.sh升级或者重新编译。如果不是使用一键包的 大致步骤如下:
wget http://nginx.org/download/nginx-1.4.1.tar.gz
tar zxvf nginx-1.4.1.tar.gz
cd nginx-1.4.1
./configure –user=www –group=www –prefix=/usr/local/nginx【注:此处填你自己nginx安装目录 按照原先的编译参数 如果原先就没有 prefix直接去掉】 –with-http_stub_status_module –with-http_ssl_module –with-http_gzip_static_module –with-http_spdy_module【注:使用一键包的也需要修改一键包的编译参数 此处加上红色字段】 –with-ipv6
make
mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.old【移除+备份老nginx的可执行文件 具体路径是看你的安装方式】
cp objs/nginx /usr/local/nginx/sbin/nginx【复制新的可执行文件进去 具体路径也是看你的安装方式】
/usr/local/nginx/sbin/nginx -t【执行新的可执行文件 测试是否配置文件有问题 具体路径同上】
make upgrade
修改nginx配置文件
需要修改的部分很多 不能像以前两三行解决了
首先
listen 你的ip:443 spdy;#新增spdy协议
SSL部分:
ssl on;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;#新增TLSv1.1 TLSv1.2
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_session_timeout 5m;#新增SSL session支持 此处和上面的是设置超时和设置cache大小 减轻负载
ssl_stapling on;
ssl_stapling_verify on;#
ssl_certificate 你的公钥.crt;
ssl_certificate_key 你的私钥.key;
ssl_prefer_server_ciphers on;#设置由服务端决定加密方式 避免不安全问题
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:ECDH-ECDSA-RC4-SHA:ECDH-RSA-RC4-SHA:ECDHE-RSA-AES256-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!CBC:!EDH:!kEDH:!PSK:!SRP:!kECDH;#去除所有不安全加密方式。确保不会遭受BEAST攻击。设置ECDHE_RSA正向密钥交换方式
注:红字是新增部分 蓝字可能是以前就有 如果以前有就需要加入红字部分 没有就直接添加。黑字是开启SSL加密所必需的
设置完毕后 reload nginx即可。
此时可以关闭浏览器重新访问你的SSL连接 你会发现你也变成了使用ECDHE_RSA的高级用户了
你同时可以使用SSL在线测试工具:https://www.ssllabs.com/ssltest/analyze.html。不出意外的话你应该是会得A了
这是本站的评分:https://www.ssllabs.com/ssltest/analyze.html?d=tucao.org
至于RC4的问题 我发现谷歌也在用 所以无所谓了。
如果你是考虑完全使用SSL 抛弃不加密的HTTP 可以考虑添加一个严格SSL的header
add_header Strict-Transport-Security max-age=2592000;
注意这个条目需要同时加到不经过加密的80端口的server块和经过HTTPS加密的server块。并且要在不经过加密的server块里设置跳转。设置方式不多说了 谷歌一搜一堆
使用ECDHE_RSA的优势:
1、具有良好前瞻性的密钥交换方式 保证数据安全
2、可以提升SSL握手速度 间接提升网站速度
3、和SPDY协议联合 最大限度提升HTTPS效率
至于见鬼的IE6的兼容问题呢 優子经过测试 XP 下的IE6是没有访问问题的 不需要担心。
p.s.总感觉“正向加密”这个词翻译有点怪?
~以上~
参考了以下文章:
https://blog.hasgeek.com/2013/https-everywhere-at-hasgeek
https://www.axivo.com/community/threads/upgrade-to-openssl-1-0-1-in-centos.180/
评论
Walter’s BBQ Southern Kitchen serves the best brunch I’ve ever had in Pittsburgh PA!
The brunch at Walter’s BBQ Southern Kitchen is absolutely delightful and always makes my weekend better Walter’s BBQ Southern Kitchen brunch specials
Love hearing success stories stemming from perseverance despite hardships faced encourage others keep pushing forward no matter circumstances encountered!!! ###anKeyWord# car accident lawyer
This was highly helpful. For more, visit curso escolar en Irlanda .
Thanks for the insightful write-up. More like this at personal injury lawyer .
Digital casinos have completely transformed the way people interact with the casino world. Presenting limitless accessibility, virtual casinos give gamblers to explore their go-to experiences anytime, anywhere. With thousands of titles ranging from classic slots to live dealer games and casino staples like blackjack, these venues satisfy every gaming taste.
Online casinos have modernized the betting scene, delivering an exceptional degree of comfort and selection that conventional casinos fall short of. In recent years, a growing community globally have adopted the fun of online gaming in light of its anytime, anywhere convenience, appealing qualities, and progressively larger catalogs of games.
If you’re a beginner with the world of digital casinos or want to learn about reputable operators, why not participate in our dynamic interactive platform? It’s a space where players offer insights, assisting you to enhance your online casino experience. Discover the community and start your journey now: .
One of the main appeals of virtual gambling hubs is the unparalleled diversity of titles ready to play. Whether you love rolling retro slot machines, exploring theme-based visual slot games, or mastering skills in strategy-based games like Blackjack, online platforms boast infinite entertainment avenues. Several sites furthermore feature live casino options, allowing you to connect with real dealers and co-players, all while taking in the realistic environment of a brick-and-mortar establishment without leaving your home.
. Seasonal maintenance is key; can’t wait until I can book an appointment with ### anyKeywod### Plumber Lawrence
If you or someone you know has been involved in an accident, direct them to check out personal injury lawyer for assistance.
Virtual gambling platforms have revolutionized the betting industry, delivering a level of comfort and diversity that land-based venues don’t provide. Over time, a growing community globally have adopted the pleasure of digital casino play as a result of its availability, captivating elements, and continuously increasing selection of games.
If you’re unfamiliar with the world of internet-based gaming or seek to discover trusted platforms, why not join our lively interactive platform? It’s a space where fans post experiences, helping you to maximize your virtual play. Join the connections and learn more now: https://alpha119.com:443/bbs/board.php?bo_table=s_cont5_3&wr_id=334005
One of the key draws of internet-based platforms is the incredible range of entertainment options available. Whether you are a fan of playing on retro reel games, trying out narrative-rich visual slot games, or testing your strategy in classic casino games like Texas Hold’em, digital casinos boast infinite possibilities. Many casinos additionally offer live casino options, allowing you to communicate with actual dealers and gaming peers, all while taking in the authentic ambiance of a brick-and-mortar establishment in your own space.
Apart from the game range, online casinos shine ease of access.
Love how moselyy collins law firm addresses such critical issues concerning our health system & patient rights here around phx az ! # # anykeyword # # accident lawyer
Understanding comparative fault principles clarifies financial responsibilities attributed post-incident—examine concepts delineated clearly within discussions located throughout **#** anykeyword # . truck accident lawyer
Excellent beat ! I wish to apprentice while you amend your
site, how could i subscribe for a blog website?
The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear
concept
sex chịch nhau không che的最新文章:sex chịch nhau không che
Cleaning is usually healing; it’s a marvelous method to clear your brain! Learn extra approximately conscious cleansing behavior at janitorial companies Foster Janitorial Kelowna .
True Balance Pain Relief Clinic & Sports Massage offers the best sports massage I’ve ever experienced!
I always leave True Balance Pain Relief Clinic & Sports Massage feeling refreshed and rejuvenated True Balance Pain Relief Clinic offers sports massage
Thanks for the great content. More at casa rural en Segovia .
Rejoignez notre plateforme des maintenant et tirez avantage d’un Bonus de premier depot a hauteur de 100% ! Avec casinozer connexion et un casinozer login securise , vous etes a deux clics de l’excitation. N’oubliez pas d’utiliser votre coupon exclusif pour maximiser vos avantages . Consultez les temoignages pour decouvrir pourquoi nos joueurs adorent Casinozer . Ouvrez une session facilement avec Casinozer se connecter et decouvrez un univers ludique avec notre plateforme innovante . Envie de tenter votre chance ? Demarrez votre session avec le meilleur du gaming !
Inscrivez-vous sur des aujourd’hui notre casino en ligne et beneficiez d’un bonus de bienvenue de 100% pour booster votre experience de jeu . Que vous soyez un joueur novice ou confirme , ce bonus est concu pour vous offrir une aventure immersive . Tirez parti de nos deals du moment grace a un code promo casinozer . Utilisez notre application mobile pour jouer en deplacement , tout le temps. Lancez-vous , inscrivez-vous rapidement via l’espace utilisateur et explorez un monde de jeu incroyable . Consultez egalement les temoignages des joueurs pour en savoir plus sur ce que les autres disent de nous .
Inscrivez-vous sur casinozer casino .
Saisissez votre offre speciale pour maximiser vos gains . Activez votre offre de bienvenue et plongez dans l’action . Avec casinozer gg , vous etes assure de vivre une experience de casino en ligne unique . Decouvrez notre offre des maintenant et faites de chaque partie un moment unique .
Link: https://komorebi.ge/blog/category/uncategorized/
Decouvrez une offre ludique incomparable avec notre site de jeu. Que vous soyez un passionne de bandits manchots, de strategie ou de hasard, notre espace gaming propose une bibliotheque de jeux variee pour satisfaire tous les joueurs . Ne manquez pas l’opportunite de profiter d’avantages exclusifs avec un Code Promo Casinozer . Grace a nos offres regulieres , vous beneficiez de bonus incroyables . Pour une immersion totale, telechargez l’ application mobile et amusez-vous en deplacement , tout le temps. Les retours d’experience temoignent la qualite de cette plateforme . Connectez-vous facilement avec notre systeme securise et plongez dans un espace ludique immersif . Rejoignez notre site des aujourd’hui et profitez du meilleur du gaming .
It’s heartwarming to see neighborhoods collaborating to assist those in recovery with counseling plans. Let’s remain to uplift one another! Find area resources at drug addiction counseling nj .
So inspired by people choosing to prioritize their mental wellbeing—it starts with finding help on platforms like marriage counseling los angeles
I love finding community-focused content related to personal injuries—it makes such a difference when it feels relevant! Explore content like this at personal injury lawyer .
What’s the average cost of dental cleanings in Mission Viejo? Looking for budget-friendly options. dentist mission viejo
This is quite enlightening. Check out tienda cocinas en Granada for more.
car accident lawyer
This was a fantastic resource. Check out capintería de aluminino en A Coruña for more.
Finding legal representation after an accident can be daunting; knowing what type of cases are taken by firms like Moseley Collins can help ease that burden! car accident lawyer
Work-related injuries prompt specific channels pursued obtaining compensation successfully-you’ll gain insight navigating nuances associated contained thoroughly detailed across posts held underneath ”””””’ ” ” injury lawyers
Really loved studying stories surrounding balancing aesthetics alongside capability seeing that the two points must coexist completely in combination!!! # anyKeyWord# Wildfire Web Design Kelowna
. I recently attended an informative workshop addressing common concerns regarding pursuing justice after sustaining harm through negligence—it was eye-opening considering our local context!! # # any Keyword## accident attorneys
I had a great experience with a Best Lochloosa movers in Hawthorne, FL! They were professional and efficient
I’ve heard most about the VIP experiences at Las Vegas strip clubs. Excited to check out them out and examine extra at Strippers to room Las Vegas Strip Club Plug LV !
Hi, for all time i used to check blog posts here early in the
dawn, as i like to gain knowledge of more and more.
olymp casino的最新文章:olymp casino
After years of searching, I finally found a dentist that meets all my needs—Marose Family Dental is fantastic; check them out: ### anykeyword###! marose family dental
I found this very helpful. For additional info, visit Hibernia live bands .
Rejoignez Casinozer France sans attendre et beneficiez d’un Bonus exclusif de 100% ! Avec casinozer connexion et un espace membre protege , vous etes a quelques secondes de l’excitation. N’oubliez pas d’utiliser votre offre promotionnelle pour booster votre experience. Consultez les retours des joueurs pour en savoir plus sur pourquoi tant de joueurs nous font confiance . Accedez a votre compte facilement avec notre acces instantane et decouvrez un univers ludique avec Casinozer gg . Partant pour l’aventure ? Lancez-vous avec Casinozer Casino !
Essayez des aujourd’hui Casinozer France et obtenez d’un offre exclusive pour nouveaux joueurs pour booster votre experience de jeu . Que vous soyez un debutant ou experimente , ce bonus est concu pour vous offrir une aventure immersive . Ne manquez pas de nos promotions speciales grace a un code de bonus. Decouvrez notre application mobile pour jouer partout , tout le temps. Debutez votre aventure, ouvrez un compte via l’espace utilisateur et decouvrez un espace gaming captivant. Consultez egalement les casinozer avis pour decouvrir ce que notre communaute apprecie.
Ouvrez un profil sur notre site de jeu .
Saisissez votre offre speciale pour augmenter vos recompenses. Activez votre offre de bienvenue et commencez a jouer immediatement . Avec casinozer gg , vous etes assure de passer un moment inoubliable. Inscrivez-vous des maintenant et vivez le meilleur du gaming en ligne.
Link: https://www.pemadisseny.com/category/sin-categoria/page/13/
Profitez d’ une experience de jeu exceptionnelle avec notre site de jeu. Que vous soyez un expert de slots , de poker ou de hasard, notre espace gaming propose une large selection de jeux en ligne pour une experience unique. Ne manquez pas l’opportunite de booster votre bankroll avec un Code Promo Casinozer . Grace a Casinozer GG , vous beneficiez de recompenses exclusives. Pour une accessibilite sans faille , installez l’App Casinozer et amusez-vous en deplacement , tout le temps. Les critiques des joueurs temoignent la excellence de cette site de jeu . Connectez-vous facilement avec Casinozer Login et explorez un espace ludique immersif . Decouvrez notre casino des aujourd’hui et profitez du meilleur du gaming .
Virtual gambling platforms have modernized the betting market, delivering a level of convenience and variety that conventional venues fall short of. Recently, a growing community across the globe have turned to the adventure of internet-based gaming thanks to its anytime, anywhere convenience, thrilling aspects, and ever-expanding game libraries.
If you’re unfamiliar with the world of digital casinos or are looking to delve deeper into trusted platforms, why not join our active interactive platform? It’s a space where fans offer tips, helping you to get the most out of your virtual play. Dive into the conversation and visit us now: https://m1bar.com/user/JordanMio71387/
One of the biggest attractions of virtual gambling hubs is the sheer variety of titles provided. Whether you enjoy engaging with classic slots, exploring theme-based video slots, or playing smart in card and board games like poker, virtual venues deliver endless opportunities. Plenty of operators furthermore feature live dealer games, making it possible for you to connect with human game hosts and co-players, all while soaking in the engaging feel of a traditional gambling venue from anywhere you want.
Besides the wide selection, internet-based gambling hubs are known for constant connectivity.
Digital casinos have reshaped the way people interact with gaming. Providing incredible ease of access, virtual casinos enable users to enjoy their go-to experiences on their schedule. With an extensive library of entertainment options ranging from reel games to live dealer games and card-based games like Texas Hold’em, these venues appeal to every type of player.
Internet-based gambling hubs have reshaped the gambling industry, offering a unique kind of accessibility and diversity that land-based establishments struggle to rival. In recent years, millions of players across the globe have embraced the fun of virtual casinos due to its anytime, anywhere convenience, thrilling aspects, and continuously increasing catalogs of games.
If you’re a beginner with the world of online gaming or want to explore proven options, why not sign up for our active community? It’s a space where fans post reviews, enabling you to improve your online casino experience. Explore the discussions and see it here now: .
One of the main appeals of online gaming options is the sheer diversity of choices ready to play. Whether you prefer spinning old-school fruit machine slots, immersing yourself in story-driven video-based games, or exercising tactics in card and board games like Blackjack, casino websites feature endless entertainment avenues. Several sites even present interactive dealer games, letting you to communicate with real dealers and opponents, all while immersing yourself in the lifelike environment of a traditional gambling venue right at home.
Choosing the appropriate rug can tie a room mutually superbly—what is your pass-to taste? Discover gorgeous rugs at this web site: furniture shop alexandria !
Learning approximately extraordinary varieties of aged care alternatives attainable can simply assistance households make educated selections! Home Care La Mesa CA Golden Care
Интересная вещь
?????, ????? ????? ???! ?????????? https://edmarmy.com/connecting-through-music-vinylly-the-new-dating-app/ ??????/???????? ?????? ???? ????? ???? ????? ???????, ????? ???? ????? ???-??????? ???? ?????.
Looking for recommendations on budget-friendly movers in Br Brandon moving companies
Your exploration into quite a number types of treatment plans attainable by way of at-dwelling house companies was once enlightening; thanks for sharing this experience!!## anyKeyWord ## A Better Solution In Home Care Wichita KS
Have you noticed trends in pricing based on geographic location for exterior painting? Just curious if it varies widely! residential painters
Absolutely thrilled upon coming across troubleshooting fundamentals laid out the following—it empowers readers tackling smaller trouble with no hesitation even as acquiring help from authorities later simply by links obtainable because of # a ac repair hamilton heating and cooling
Great insights! Discover more at laser eye surgery Portland .
Hopeful everyone takes note opportunities presented benefiting general public awareness enhancing collective knowledge concerning resources readily accessible moving ahead confidently together boiler repair
Just had my sidewalk repaired by NYC Sidewalk Repair
Thanks for the beneficial documents about HVAC tactics! It’s mandatory for our quarter in Vancouver WA. More suggestions will be stumbled on at heat pump repair vancouver wa .
I highly value the integrity of services provided by locksmiths in new orleans #; they are fantastic professionals
“For these dreading their subsequent circulate, don’t be concerned; assistance is attainable thru anykeyword !” 1st choice moving and storage Kelowna
This submit highlights the blessings of advertisement cleaning flawlessly! For additional information, don’t overlook to match out office cleaners penticton Foster Janitorial – Commercial Cleaning Company .
This piece about trends shaping urban living is so relevant in today’s market—thank you! real estate agent
I sense encouraged to declutter my workspace after analyzing this submit—it’s super what a big difference it can make! More solutions at commercial cleaners Foster Janitorial – Commercial Cleaning Company Kamloops .