或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了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/
评论
I’ve heard great things about customer service from several Healdsburg moving companies – definitely worth checking out! Long distance movers Healdsburg
Would love hearing firsthand accounts regarding individuals’ journeys utilizing recommendations sourced directly off this website since everyone deserves enjoyable experiences while transitioning homes freely without hassles!. AllenTX Mover’s
Thanks for the insightful write-up. More like this at ac repair .
What a relief to find a trustworthy Yulee moving company! I found mine through Yulee moving companies .
Moving can be stressful, but finding the right Kennedale moving company makes all the difference! Kennedale full service movers
Well explained. Discover more at air conditioning repair .
Thanks for the great information. More at air conditioning repair .
Hello outstanding website! Does running a blog like this take a large amount of work?
I’ve virtually no understanding of programming however I had been hoping to start my own blog soon. Anyways, if
you have any suggestions or techniques for new blog owners please
share. I know this is off subject but I simply
had to ask. Many thanks!
rest you can see的最新文章:rest you can see
Excellent perspectives into the value of efficient spare collection and handling! Having the best garbage rental assistance can make a huge difference when it comes to cleaning up after a major task or spring cleaning waste management
If you’re looking for a credible answer for your waste removal requires, regard a nearby trash leased company. It’s an successful way to manage large amounts of waste, whether you’re tackling a house construction or a large remediation venture trash dump near me
This was beautifully organized. Discover more at https://aviatorgamees.com/user/solenauvxt .
Great advice comes from seasoned professionals; talk to the Oak Cliff auto accident lawyers today! car accident lawyer Oak Cliff
Tree removal is an necessary component to keeping up a healthful panorama. It’s incredible to know whilst a tree needs to be got rid of for safety causes, such as though it can be useless or poses a probability to local platforms local tree removal companies
This was quite informative. More at ac repair .
Finding someone who understands both legalities and personal struggles related to accidents is key—thankful I found that at #anykeyword#! auto accident lawyers phoenix
Great job! Discover more at http://amur.1gb.ua/user/sipsamyndp .
Thanks for sharing your thoughts about BEAST攻击. Regards
AquaSculpt Reviews的最新文章:AquaSculpt Reviews
This was quite informative. More at ac installation .
I found this very helpful. For additional info, visit air conditioning repair .
Appreciate the detailed information. For more, visit https://www.deltabookmarks.win/basic-do-it-yourself-solutions-to-reduce-your-air-conditioning-expenses .
Браво, эта замечательная фраза придется как раз кстати
онлайн казино Вавада предлагает своим пользователям широкий спектр возможностей, https://icmrs.sahrdayasims.ac.in/kak-da-napravim-vavada-sign-up-plen-gid-za-novi/ в числе которых есть и возможность играть в игровые автоматы.
Hot air balloons symbolize freedom and adventure—perfectly fitting for Dubai’s vibrant atmosphere! Explore this unique experience at hot air balloon dubai desert .
Appreciate the detailed insights. For more, visit https://www.bookmarking-keys.win/just-how-data-centers-rely-upon-reliable-air-conditioning-solutions .
Hi it’s me, I am also visiting this website daily, this website is genuinely good and the visitors are really
sharing pleasant thoughts.
polyurea rv roof的最新文章:polyurea rv roof
This was quite informative. For more, visit https://www.kilobookmarks.win/the-value-of-normal-air-filter-modifications .
Thanks for the valuable insights. More at https://topkinolar.com/user/ofeithamit .
This was a fantastic read. Check out hvac for more.
Super excited about the upcoming trends in aesthetics—Mesglo Aesthetic Clinic is definitely a place to watch this year! Aesthetic Clinic Marylebone
Thanks for the practical tips. More at https://android-lenta.ru/user/ashtotrmys .
This was highly informative. Check out hvac for more.
Excellent article! The best trash leased service is essential when it comes to managing spare effectively. Having a dependable trash outside may make all the difference, whether you’re doing a home renovation or a key cleanout baldwin county garbage pickup
You really make it appear really easy along with your presentation however I in finding this topic to be really something that
I feel I would never understand. It kind of feels
too complicated and very large for me. I’m looking ahead on your
next put up, I will try to get the cling of it!
remodelling bathroom的最新文章:remodelling bathroom
This was nicely structured. Discover more at ac repair .
This was very insightful. Check out https://www.ready-bookmarks.win/comparing-energy-expenses-of-central-vs-ductless-air-conditioner-systems for more.
“Can’t recommend #your company name# enough; they handled everything perfectly!” Cheap movers Yalaha
“I didn’t realize how much planning goes into a successful relocation until I worked with ###—so thankful!” Satellite Beach commercial movers
Shoutout to the moving companies in Altamonte Springs that helped me relocate effortlessly! For tips on choosing one, visit Best Altamonte Springs movers .
Thanks for the great tips. Discover more at https://www.bookmark-maker.win/exactly-how-to-safely-switch-off-and-restart-your-a-c-system .
I enjoyed this post. For additional info, visit http://fr994575.bget.ru/user/kevalaqfws .
Thanks for the great information. More at https://www.easybookmarkings.win/government-rewards-for-energy-efficient-a-c-solutions .
I found this very helpful. For additional info, visit ac repair .
While morning testing typically provides probably the most accurate outcomes, it’s important to assume about individual variations.
Some individuals may have atypical circadian rhythms or work evening shifts, resulting in completely different peak testosterone ranges.
In such circumstances, healthcare suppliers may suggest adjusting the testing time accordingly to account for these elements.
Sexual well being is amongst the issues that anabolic steroids like
Proviron might instantly influence. Proviron improves
sexual health by enhancing sexual need, performance, and the general expertise.
If your physician has confirmed your low testosterone, anastrozole’s benefit of boosting testosterone could also be nicely welcomed.
Maybe one cause is that customers understand well being issues
to be a future drawback – and that these issues are an appropriate threat to take if it means a greater efficiency or look within the short-term.
Many males who have abused steroids will become hypogonadal and require life-long
testosterone alternative as a result. Steroid abuse modifications the guts, causing it to enlarge, blood pressure to rise, and arteries to
turn out to be less elastic. All of those modifications make it
more durable for the center to carry out, rising danger of sudden demise.
Hone-affiliated medical practices are independently owned and operated by licensed physicians who present companies using the Hone telehealth platform.
In truth, some studies have proven that combining testosterone and creatine supplementation could have synergistic effects
and result in greater strength and muscle positive aspects.
Creatine, then again, is a naturally occurring compound that is present in small amounts in animal merchandise, similar to meat and fish.
It is also produced by the physique in small quantities in the liver, kidneys, and pancreas.
Creatine is stored in the muscles and used as a source of energy during
high-intensity exercise. Supplementing with creatine has
been proven to extend muscle power and power, improve exercise performance, and promote muscle growth.
When utilized in medication to treat intrauterine development
retardation, dosages of 1-3 IU per day are usually administered.
It replicates the muscle-building and fat-burning results of HGH, but
without the undesirable unwanted effects. IGF-1 is utilized by
medical doctors to detect potential most cancers threat
and tumor growth in sufferers. HGH has diabetogenic results related to its metabolism of carbohydrates, inflicting blood sugar levels to rise
and thus increasing the chance of kind 2 diabetes. Consequently, women and
men around the world are taking artificial HGH to reverse the aging course of, enhance
athletic efficiency, and enhance physique composition.
Although Proviron will not produce as a lot bulk as other, more well-liked anabolic steroids, it still has
so much to supply and is well worth considering. It is
amongst the most versatile substances recognized today, and its potential to boost the results of different steroids
is unparalleled. Proviron additionally boosts energy output, endurance, and
recovery by immediately rising the production of cAMP in muscle cells.
Anadrol 50 is another oral steroid that’s frequently utilized in bodybuilding circles owing to its
capability to induce a lot of anabolic steroid exercise and enhance
overall power. When used alone, Proviron isn’t practically
as effective as Sustanon 250, however it can convey a variety of different benefits when mixed with it.
Nonetheless, growing older also contributes to those opposed reactions so there is no endpoint in these results on the
prostate. Nevertheless, it could be very important observe your
doctor’s instructions and avoid changing your dosage with no consultation. Stephanie Anderson Witmer is
a freelance journalist and content creator primarily based in Pennsylvania.
She’s written health and way of life tales for Ladies’s Health, Redbook, Prevention, Good Housekeeping, USA Right
Now, Better Homes & Gardens, Giddy, Parade, Yoga Journal, and
extra. There are not any generic variations of FDA-approved testosterone drugs, making them dear if
you don’t have health insurance. Monthly costs can range from roughly $150 to greater than $1,000, though some producers offer fee plans (8,
9). For troches, it’s important to switch up where you place them in your mouth to ensure they get absorbed by different
cells.
“And when we treat them, plenty of males will say that their power has improved,” says Dr.
Morgentaler. Which therapy is right for you comes
down to private choice, your individual state of affairs,
and what your insurance covers, says Dr. Tamler.
Keep in mind that the unwanted effects of Proviron can be prevented
if the proper dossages of the steroid are adopted. It has been used
to deal with quite lots of other circumstances ranging from asthma to allergic reactions to rheumatoid arthritis and
osteoarthritis. If you’ve any of the illnesses listed above,
Proviron could additionally be of help. It
was initially used as an anti-estrogen drug within the Nineteen Fifties, however it didn’t
acquire recognition until the Eighties.
Low ranges can result in increased physique fats, particularly in the
belly space, and will contribute to obesity-related circumstances such as
sort 2 diabetes and metabolic syndrome. Sustaining wholesome testosterone levels helps guarantee a healthier body composition and metabolic fee.
Creatine is one of the most popular bodybuilding supplements,
known for its relative safety and efficacy.
Testosterone boosters are authorized alternatives which declare to increase testosterone ranges, although their high quality varies and little is
known about their lengthy security 1.
However, in our experience, results generally taper off after
2-3 months, which is why users still make the most of cycle protocols,
stopping the physique from building up tolerance. Nonetheless, anecdotally, if someone
is a positive responder to turkesterone, we see them expertise anywhere from 8 to 12 pounds of mass in a 2-month
cycle. When this amount of weight achieve is lean and dry (not including any
water retention), it can make a noticeable impression visually on someone’s
muscularity. Regardless Of Dianabol being one of the potent anabolic steroids, the
rodents truly skilled greater will increase in weight achieve
on turkesterone in two of the three rodent groups.
Dr. Syrov, V. N., carried out an additional research in 2000 that in contrast the
anabolic effects of varied phytoecdysteroids and steranabols in male rodents,
including ecdysterone, turkesterone, and Nerobol.
Nerobol is one other name for methandrostenolone, otherwise known as Dianabol.
anabolic steroid的最新文章:anabolic steroid
Very helpful read. For similar content, visit air conditioning installation .
Thanks for the useful suggestions. Discover more at https://svsporngames.com/user/cynhadzxkb .
Присоединяюсь. И я с этим столкнулся. Можем пообщаться на эту тему.
Since the average age allowed to try gambling games is 19 years old, Canadian players are encouraged to familiarize themselves with the specifics of legal fields of their province, well in a number provinces, such as Manitoba, Alberta and Quebec, adherents of gambling games are allowed participate in offered slots from the age of 18. In Ontario, the threshold is inserted in relation to 19, and though provincial internet gambling houses must comply with local laws, residents of Canada are allowed play http://www.minikarilar.com/2025/05/05/discover-the-thrill-of-gaming-at-nationalbet/ on offshore sites.
Appreciate the useful tips. For more, visit ac installation .
This is highly informative. Check out https://www.cool-bookmarks.win/how-much-does-air-conditioning-installation-cost-an-in-depth-failure for more.
Excellent article on the value of efficient squander managing! A trustworthy garbage rental service is essential when dealing with any restoration or cleanout task fairhope trash pick up
Thanks for the useful post. More like this at https://www.bookmarking-planet.win/how-to-lower-power-costs-in-commercial-a-c-equipments .
Tree removing is an integral part of preserving a healthful landscape. It’s invaluable to realize while a tree demands to be removed for security motives, such as though this is useless or poses a probability to regional structures tree cutting and removal