或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了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/
评论
Why Online Casinos Remain an International Sensation
Digital casinos have transformed the casino gaming scene, offering an exceptional degree of convenience and selection that brick-and-mortar gambling houses can’t match. Recently, a large audience worldwide have adopted the excitement of online gaming thanks to its always-open nature, exciting features, and continuously increasing catalogs of games.
One of the main appeals of digital gambling sites is the incredible range of choices ready to play. Whether you enjoy interacting with old-school reel games, trying out narrative-rich video slots, or strategizing in table games like Texas Hold’em, virtual venues feature infinite entertainment avenues. Many casinos also present real-time gaming experiences, allowing you to participate with human game hosts and other players, all while immersing yourself in the authentic feel of a land-based casino without leaving your home.
If you’re a beginner with the world of digital casinos or seek to learn about safe services, why not participate in our dynamic gaming forum? It’s a space where fans discuss reviews, guiding you to maximize your online casino experience. Explore the connections and start your journey now: bet on red kasyno
Adding to the extensive catalog, internet-based gambling hubs stand out seamless entry.
Dragon Tiger is considered to have arisen in the Kingdom of Cambodia and has since spread to gaming venues worldwide, particularly in Asia. The game’s simplicity and rapid nature have made it a common selection among both seasoned gamblers and newcomers. Unlike different card games that require in-depth strategies and skills, Dragon Tiger relies heavily on luck, making it an enticing choice for those seeking a fast gaming experience. At its fundamentals, Dragon Tiger is related to traditional baccarat but reduces the wagering process. The game is played with a standard deck of 52 cards, and the goal is to forecast which of the two hands—Dragon or Tiger—will have a more valuable value. Players place their bets before the dealer uncovers the cards. The hand with the better card takes the prize, and ties are also allowed, adding an extra layer of thrill.
Direct link: https://api.open-ressources.fr/files/aHR0cHM6Ly9wb2RjYXN0LnJ1aHIvb2Ita2FuZGlkYXQtZGVyLWNkdS1pbi1nZWxzZW5raXJjaGVuLXBvc3RldGUtYW50aWlzcmFlbGlzY2hlLXByb3BhZ2FuZGE/yxbwbgljyxrpb24vcgrm
Players can choose several types of bets, including betting on the Dragon, the Tiger, or a tie. The rewards varies depending on the type of bet placed, with ties typically providing the most significant payout due to their rarity. This simple betting structure makes Dragon Tiger easy to play to a wide audience, further contributing to its popularity in online casinos.
Wow, superb blog layout! How long have you been blogging
for? you make blogging look easy. The overall look of your website is excellent,
let alone the content!
My homepage rsweeps online casino login
rsweeps online casino login的最新文章:rsweeps online casino login
Reasons Why Online Casinos Have Become a Global Phenomenon
Virtual gambling platforms have changed the casino gaming world, offering a level of convenience and selection that traditional casinos can’t match. Over time, a growing community worldwide have welcomed the adventure of internet-based gaming as a result of its accessibility, appealing qualities, and ever-expanding selection of games.
One of the most compelling reasons of online casinos is the sheer diversity of titles on offer. Whether you love interacting with retro reel games, diving into narrative-rich thematic slots, or strategizing in card and board games like Blackjack, internet-based gambling sites provide countless options. Plenty of operators additionally include live gaming streams, enabling you to interact with professional croupiers and other players, all while immersing yourself in the authentic feel of a traditional gambling venue in your own space.
If you’re a beginner with the world of virtual gambling or seek to explore proven options, why not become part of our lively community? It’s a platform where gamblers share insights, helping you to get the most out of your gambling adventure. Dive into the connections and start your journey now: ????? 1xbet
In addition to diversity, virtual gambling platforms shine ease of access.
Heya! I’m at work browsing your blog from my new iphone 3gs! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the fantastic work!
Best City To Reside In Texas – Austin 대전가라오케
delivery car dealership
Hi, I do think this is a great blog. I stumbledupon it
😉 I’m going to come back yet again since I book marked it.
Money and freedom is the best way to change, may you
be rich and continue to help other people.
My web site … เครดิตฟรี 88
เครดิตฟรี 88的最新文章:เครดิตฟรี 88
Bike Rental Shops In Hanoi And Ho Chi Minh City 주소모음
주소모음的最新文章:주소모음
Dragon Tiger is considered to have emerged in Southeast Asia and has since spread to betting centers worldwide, particularly in the Asian continent. The game’s simplicity and rapid nature have made it a popular choice among both seasoned betters and newcomers. Unlike alternative card games that require elaborate strategies and skills, Dragon Tiger relies largely on luck, making it an attractive choice for those desiring a fast gaming experience. At its basis, Dragon Tiger is like traditional baccarat but streamlines the gambling structure. The game is played with a standard bundle of 52 cards, and the goal is to assess which of the two hands—Dragon or Tiger—will have a greater value. Players make their bets before the dealer exposes the cards. The hand with the greater card is the winner, and ties are also attainable, adding an extra layer of engagement.
Direct link: https://www.biographyweb.org/tag/ye/
Players can set several types of choices, including betting on the Dragon, the Tiger, or a tie. The rewards varies depending on the sort of bet placed, with ties typically giving the top payout due to their rarity. This direct betting structure makes Dragon Tiger easy to play to a wide audience, further contributing to its popularity in online casinos.
Learn Most Effective Ways To Earn A Money Transfer To Vietnam
사이트모음
사이트모음的最新文章:사이트모음
Как получить диплом техникума официально и без лишних проблем
Life In Hue – The Info You Need 주소모음
주소모음的最新文章:주소모음
Why Online Casinos Are Becoming a Global Phenomenon
Digital casinos have modernized the casino gaming industry, providing an unmatched level of accessibility and breadth that physical gambling houses fall short of. Over time, countless gamblers across the globe have embraced the thrill of virtual gambling because of its anytime, anywhere convenience, captivating elements, and progressively larger selection of games.
One of the most compelling reasons of internet-based platforms is the unparalleled array of entertainment options ready to play. Whether you love playing on old-school slots, trying out narrative-rich video-based games, or mastering skills in card and board games like Baccarat, digital casinos offer numerous entertainment avenues. Several sites moreover present real-time gaming experiences, enabling you to communicate with actual dealers and fellow gamblers, all while taking in the realistic feel of a traditional gambling venue without leaving your home.
If you’re exploring for the first time with the world of virtual gambling or would like to find out more about safe services, why not participate in our growing social network? It’s a platform where gaming aficionados exchange reviews, guiding you to enjoy more of your casino activities. Join the connections and check it out now: bet on red avis
Besides the wide selection, online casinos thrive in ease of access.
Enjoy A Motorbike Tour Of Vietnam 주소모음 (https://marvelvsdc.faith)
https://marvelvsdc.faith的最新文章:https://marvelvsdc.faith
Установка и подключение бытовой техники – услуги сантехника без проблем
вызов сантехника на дом спб [url=uslugisantehnika-spb.ru]uslugisantehnika-spb.ru[/url] .
Crypto derivatives
In the world of finance, innovation often paves the way for new opportunities.
Traditional approaches have been reshaped, giving rise to a plethora of advanced investment strategies.
Among these, novel tools have captured the attention of traders and investors alike.
They promise enhanced flexibility, risk management, and ultimately, greater potential returns.
The allure of these financial constructs lies in their ability to amplify the investor’s
capabilities. They offer ways to hedge against market volatility without the need for extensive capital investment.
By utilizing advanced agreements, participants can gain exposure to
fluctuating assets while minimizing risk. Such mechanisms can provide significant leverage, enabling the savvy investor to
navigate both bullish and bearish markets with ease.
Yet, this complex landscape necessitates a clear understanding of the
underlying principles and mechanics. Investors must grasp the implications
and potential pitfalls associated with these sophisticated instruments to make informed
decisions. As we venture deeper into this topic, we will explore the various
types of existing agreements, how they function in dynamic markets, and the impact they wield on investor behavior.
Understanding these intricacies is crucial for anyone seeking to
thrive in today’s financial environment. A comprehensive grasp of strategies can lead to more educated choices and
better outcomes. As we unravel this subject, it becomes evident that these innovative tools are reshaping the fabric of modern investing.
Understanding the Basics of Crypto Derivatives
The world of digital asset contracts is fascinating and
complex. It introduces various financial instruments designed
to help investors manage their risks and speculate on price movements.
These tools allow traders to amplify their exposure without needing
to own the underlying asset directly. It’s a realm where strategies can be as diverse as the market itself.
Investors can engage in contracts that derive their value from the performance of
underlying digital currencies. These agreements can take on multiple forms, from futures
to options. Such instruments empower individuals to make predictions about future prices while mitigating some of the
inherent risks. The complexities involved often lead to a
deeper understanding of market dynamics.
Only with a firm grasp of fundamental concepts can traders navigate this intricate landscape.
One can leverage these financial tools to hedge against potential losses or speculate aggressively–each with
its own set of advantages and pitfalls. For instance, while some
may use contracts for securing profits, others may advocate for their use as hedges to protect against downturns.
Ultimately, a thorough comprehension of how these contracts function is crucial for any serious participant.
As participants enhance their skills, they can better manage exposure, strategize
entry and exit points, and ultimately foster a more robust trading approach.
Gaining knowledge in this area can lead to more informed financial decisions and
refined investment strategies aligned with individual risk tolerance.
Benefits and Risks of Trading Crypto Derivatives
The landscape of digital assets offers a myriad of opportunities and challenges.
Engaging in complex financial instruments can be lucrative, yet fraught
with peril. Traders often find themselves navigating a sea of volatility, where potential
rewards may be considerable, but so too are the risks involved.
Understanding both sides of this intriguing coin is essential for any participant in this vibrant market.
A key advantage of utilizing these financial instruments lies in the ability to leverage positions.
This means that traders can control larger amounts with a smaller initial investment,
amplifying profits significantly when the market moves in their favor.
Moreover, sophisticated tools such as options and futures provide flexibility in hedging
against price fluctuations, allowing for strategic planning in uncertain conditions.
However, with high reward comes high risk.
The use of leverage can lead to substantial losses if the market turns adverse, sometimes exceeding initial investments.
Additionally, the complexity of these financial tools can present a steep learning curve for newcomers.
Limited regulatory oversight only adds to the unpredictability, making it imperative for
individuals to stay informed and exercise caution.
Ultimately, the decision to engage in this form of trading
should stem from a clear understanding of both the benefits and disadvantages.
Risk management strategies, thorough research, and a disciplined approach can help mitigate
some potential downsides. While the prospects are enticing, making informed
choices remains the cornerstone of navigating this ever-evolving financial environment.
Also visit my webpage :: https://cryptolake.online/crypto7
https://cryptolake.online/crypto7的最新文章:https://cryptolake.online/crypto7
Dragon Tiger is regarded as have started in this region and has since extended to casino floors worldwide, particularly in Asian gaming hubs. The game’s lack of complexity and quick nature have made it a common selection among both seasoned gamblers and newcomers. Unlike different card games that require elaborate strategies and skills, Dragon Tiger relies largely on luck, making it an interesting choice for those wanting a quick gaming experience. At its basis, Dragon Tiger is like traditional baccarat but makes easier the gambling structure. The game is played with a standard deck of 52 cards, and the goal is to anticipate which of the two hands—Dragon or Tiger—will have a larger value. Players stake their bets before the dealer reveals the cards. The hand with the larger card is the winner, and ties are also permissible, adding an extra layer of interest.
Direct link: https://jambotelematics.co.tz/and-the-day-came-when-the-risk-to-remain-tight-in-a-bud-was-more-painful-than-the-risk-it-took-to-blossom/
Players can put several types of gambling placements, including betting on the Dragon, the Tiger, or a tie. The rewards varies depending on the sort of bet placed, with ties typically giving the largest payout due to their rarity. This simple betting structure makes Dragon Tiger easy to play to a wide audience, further contributing to its popularity in online casinos.
Vip Janitorial Services – Let Them Clean Your Own Act 일산가라오케
일산가라오케的最新文章:일산가라오케
купить аттестат за классов [url=https://2orik-diploms.ru/]2orik-diploms.ru[/url] .
The Reasons Behind Why Online Casinos Are a Global Phenomenon
Digital casinos have changed the betting market, delivering an exceptional degree of comfort and diversity that physical establishments are unable to replicate. Throughout the last ten years, a growing community globally have adopted the adventure of virtual gambling because of its ease of access, exciting features, and ever-expanding selection of games.
One of the key draws of online gaming options is the incredible selection of games provided. Whether you prefer playing on vintage fruit machine slots, exploring narrative-rich thematic slots, or testing your strategy in traditional table offerings like Roulette, virtual venues provide endless opportunities. A large number of platforms even feature real-time gaming experiences, making it possible for you to interact with professional croupiers and opponents, all while enjoying the lifelike environment of a physical gaming house right at home.
If you’re exploring for the first time with the world of virtual casino play or are looking to discover proven options, why not become part of our active social network? It’s a destination where fans discuss insights, enabling you to improve your casino activities. Join the connections and learn more now: verde casino login
Beyond variety, virtual gambling platforms excel seamless entry.
спа программы для двоих москва
спа программы для двоих москва的最新文章:спа программы для двоих москва
How To Take Pleasure From The Best Of Hue – Central Vietnam 사이트모음
사이트모음的最新文章:사이트모음
How Appreciate The Better Of Hue – Central Vietnam 주소모음
주소모음的最新文章:주소모음