或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了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/
评论
Have you or someone you know been in a car accident in Oceanside? It’s time to seek legal help! car accident lawyer
Well done! Discover more at https://fmcpe.com/user/boltonljgw .
The Glam House Nashville is the best beauty salon I’ve ever visited!
I always leave The Glam House Nashville feeling like a superstar.
If you’re searching for a beauty salon near me, check out The Glam House Nashville Nashville TN hair extensions
To those needing assistance getting settled into new places…I wholeheartedly endorse reaching out ####aniykeywo#### Best Zellwood movers
Open Wide La Jolla Dentistry provides exceptional dental care with a smile!
I had a fantastic experience at Open Wide La Jolla Dentistry, the best dentist near me!
The staff at Open Wide La Jolla Dentistry are truly friendly and professional dental check-up
Thanks for the insightful write-up. More like this at http://mcforces.ru/user/buthirfpej .
The Winslow is the best Rugby Bar I’ve ever visited! The atmosphere is unbeatable.
I love hanging out at The Winslow, the ultimate Rugby Bar Near Me.
The Winslow is my go-to spot for rugby matches. It’s the best Rugby Bar New York has to offer NYC rugby gatherings
Lavo Dental is fantastic! I had a dental emergency, and they were quick to assist.
Finding an emergency dentist near me was a breeze with Lavo Dental.
I can’t recommend Lavo Dental enough for emergency dentist services in Northridge, CA Emergency dental appointment Northridge
Colepepper Plumbing did an amazing job with my kitchen sink! Highly recommend this plumber in San Diego CA.
I found the best plumber near me thanks to Colepepper Plumbing. Excellent service and friendly staff plumber for hire near me
Thanks for the clear breakdown. Find more at https://cinemachek.ru/user/dearusmznw .
Inquiring about sidewalk repairs? Make sure to visit NYC Sidewalk Repair for expert advice and service.
Harmony Drywall & Texture did an amazing job with my drywall installation!
I highly recommend Harmony Drywall & Texture for drywall installation near me.
The team at Harmony Drywall & Texture offers the best drywall installation in Denver CO Drywall repair companies near me
My experience at Denver Pain Management Clinic was top-notch. The staff truly cares about their patients!
I highly recommend Denver Pain Management Clinic for anyone needing specialized care and attention pain relief locations
it’s worth worrying about a trip to these countries like Serbia, here you can to find an inexpensive, but reliable therapy.https://www.radekpetrasek.cz/deserunt-id-ullam-ea-earum-labore-alias-beatae/
Moving doesn’t have to break your bank—find budget-friendly solutions through # # any Keyword ### ! Parrish apartment movers
This was quite useful. For more, visit https://www.primary-bookmarks.win/the-function-of-air-filters-in-indoor-air-quality .
Thanks for the clear breakdown. Find more at https://cs-2.ru/user/coenwixdmi .
This was quite informative. More at https://www.bookmark-belt.win/exactly-how-air-purification-solution-integrate-with-modern-air-conditioning-systems .
Thanks for the informative content. More at https://forum.xn--frderung-n4a.at/member.php?action=profile&uid=204283 .
Understanding the importance of personalized treatment plans when recovering from injuries cannot be overstated—thank you for bringing attention to this!” # # anyKeyWord # # accident and injury chiropractor
Chiropractic adjustments have significantly reduced my pain levels since my accident ; highly recommend checking them out through ### anykeyword### . Car accident injury clinic
””After using other companies before, finding sandersom felt like winning the lottery!” Check it out here ## Sanderson Mover’s
. From packing to unloading, #### anykeyword### made every step of my palm harbor move easier than expected Palm Harbor commercial movers
Oh my goodness! Incredible article dude! Thank you, However I am
encountering troubles with your RSS. I don’t know the reason why I can’t join it.
Is there anybody getting identical RSS problems?
Anybody who knows the answer can you kindly respond?
Thanks!!
güvenilir bahis siteleri的最新文章:güvenilir bahis siteleri
This was quite informative. For more, visit https://www.bookmark-fuel.win/just-how-to-lower-your-a-c-expenses-this-summer-season .
Accidents happen, but having the right legal team, like an Oceanside car accident lawyer, makes recovery easier! car accident lawyer oceanside
Have you tried a jet car in Dubai? It’s an exhilarating experience that combines speed and the beauty of the water! Find out how to book at boat rental dubai .
Your before-and-after examples are inspiring; I can’t wait to work with my own #landscaper#! Landscaping Services
Fantastic advice on creating outdoor spaces! I’ll be hiring a Landscaping this weekend.
“Wonderful blog post about landscaping! It’s inspired me to find the best local ##anyKeyword#!” Landscaper
Love how you emphasize native plants—time to hire an eco-conscious ##anyKeyword#! Lawn Care
Love knowing there are options available locally allowing individuals access specialized knowledge base equipped h personal injury lawyer mckinney tx
Your article has inspired me to finally start my landscape project with a Irrigation San Antonio !
“Your blog has opened my eyes about native species—time for me to seek guidance from skilled #landscaper#!” Landscaping San Antonio
This was very enlightening. For more, visit http://okprint.kz/user/lavellokpz .
Fantastic plant choices! I’ll reach out to a Landscape Designer to help choose the right ones.
Thanks for the informative post. More at https://www.coast-bookmarks.win/just-how-seasonal-upkeep-conserves-you-money-on-air-conditioning-prices .
of course like your web-site but you need to take a look at the spelling on several of your
posts. A number of them are rife with spelling issues and I in finding it very troublesome to
inform the truth nevertheless I will surely come back again.
Token Tact的最新文章:Token Tact
Usually I don’t learn post on blogs, but I wish to say that this write-up very
forced me to try and do it! Your writing taste has been surprised me.
Thanks, very nice article.
https://jiwabolatop.icu/的最新文章:https://jiwabolatop.icu/
Great job! Discover more at https://www.toro-bookmarks.win/exactly-how-spring-maintenance-can-prevent-summer-air-conditioner-break-downs .
This was a wonderful guide. Check out http://www.labvirtus.com.br/lab/member.php?action=profile&uid=122559 for more.
A well-organized move is possible when you have an experienced ###Cocoa-moving service on your side! Office moving companies Cocoa
An event wall contract, or common wall contract, is a legal contract that outlines the rights and duties of homeowner who share an usual wall surface or various other typical structure, such as an usual roofing or usual utility lines.
After you have actually obtained an event wall notification, you have 14 days to respond from the day of distribution, not the date you opened it. You have to reply in creating & #x 2014; there might be a recognition kind & #x 2014; and either accept the job or dissent from the job.
Good Event Wall Surface Agreements Make Good Neighbors
The builder of a common property is generally the one that creates the party wall contract and records it with the county. The contracts run with the land, suggesting they will feed on the residential or commercial property despite that possesses it. Before starting a building project, it’s necessary to recognize what celebration wall surface works are and whether your task calls for a party wall surface contract. Event wall surface functions normally entail constructing, altering, or knocking down walls, floorings, or ceilings shared with an adjoining residential property. Examples include building expansions, loft space conversions, and excavation for new structures near a common limit. If you intend to purchase an apartment, rowhouse, apartment or workplace facility, you are unquestionably going to need to handle party wall surfaces.
Possible Lawsuit
These guidelines create a motivation for business to inflate their above cost. As a rule of thumb, the extra complex your task, the bigger your consultant group requires to be. Consider what kind of connection you need with your land surveyor to help your task be successful. Once your survey is finished, it’s wise to place permanent markers in the ground at the home’s boundaries. Keep a number of duplicates of the study in a safe place– and ideally a minimum of one with your financial institution, in case of fire or other catastrophe. The availability of records can likewise be a variable, as retrieving physical documentation from the Area Clerk’s office for example will take more time than on the internet documents.
Geodetic checking thinks about the shape, size and curvature of the planet. The majority of types of checking normally involves a mix of workplace and field work and follows these vital actions. Similar to any organization, the best marketing is from customer referrals. Do not just read the business examines noted on the company site however take a look at the reviews provided on Google and discover the Better Business Bureau rating for the company. Google evaluations can not be eliminated by the business and the BBB rating is based on grievance background, years in company, and expertise. With a topographic plan in hand, you can execute building and layout work.
Level Up Your Study Game!
The cost will certainly constantly depend on the dimension of the location concerned, the length of time the process will certainly take, and what kind of survey you need. An easy graph of the boundaries and crucial attributes will likely set you back much less than water drainage surveys and mapping elevation levels, as an example. To check a complicated task, you need to search for a property surveyor with experience and proficiency to recognize your task needs. These surveys are specifically beneficial for older homes, which might have undergone different adjustments throughout the years.
Reinventing Construction With Viametris
A surveyor isn’t just some random with an expensive general practitioner and a tripod. They’re the unsung heroes that make sure you’re not constructing your shiny brand-new patio on someone else’s grass. It’s their work to dig up (sometimes literally) the tale of your home, with all the messy records and concealed boundary pens to boot. Red Hawk Checking should be your preferred option when it pertains to conducting a study.
Our company believe in clear communication, ensuring that our customers totally understand our searchings for and referrals. The cost depends on what kind of survey you require and the home’s size, place and background. A basic boundary study can set you back anywhere from $100 to $600, while a home mortgage survey for getting a home costs concerning $500, according to data from HomeAdvisor. A study for fencing can add to $1,000, while one for developing a new-construction home may add to $2,000. The more complex a residential or commercial property’s functions and documents background, the much more you’ll likely pay for a surveyor’s time. This is one of the most standard form of survey and provides a high-level summary of the condition of the residential property.
You could also have the ability to use a previous study rather than obtaining a brand-new one, offered the existing survey isn’t glaringly out-of-date. A residential or commercial property study is all about specifying what’s your own and what isn’t. ” Residential property studies are carried out for a number of factors,” says Curtis Sumner, executive supervisor emeritus of the National Culture of Professional Surveyors (NSPS). Commonly, he states, they are used to develop borders when brand-new parcels of land are being created. A building study is an experienced examination of a building’s problem.
Even if you receive recommendations from pals and family members, it’s best to compare property surveyors to ensure that you receive the very best services according to your budget. Occasionally, a seller may provide a property study even if they don’t require to. Though it could be practical to you, it’s a great idea to hire your very own independent surveyor to see if the records match. The number one benefit is that it’ll save you money down the line. It might look like an extra (and avoidable) expense to obtain the home evaluated prior to getting it, but you can easily wind up paying much more out of commission and problems if you’re not cautious. It is also the major reason that rate renegotiations occur, you obtain a discount rate to reflect the problem of the residential property significance you have the money to execute any repair services once it’s yours.
An instance of a minnow is the one-man store that lately completed a whole lot study in the Sierra Nevada Hills of Central The golden state near my home base of operation. The offers that appear on this website are from business that compensate us. However this compensation does not affect the info we release, or the testimonials that you see on this webs
If anyone’s looking into getting some professional-grade cleaning done around town then ******* anything else would simply pale compared against what these folks do best! Pressure Washing
The future of insurance marketing lies in AI-driven solutions like those offered by Agent Autopilot. high-quality aged insurance leads by agent autopilot
Wow, fantastic blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your web site is great, as well as the content!
ماساژ ورزشی的最新文章:ماساژ ورزشی
Hi there, just became aware of your blog through Google, and found
that it’s really informative. I’m going to watch out for brussels.
I will be grateful if you continue this in future. A lot of people will be benefited from your writing.
Cheers!
esta application的最新文章:esta application
I recently moved with a Richardson moving company, and the experience was seamless! I highly recommend checking out Richardson moving company for more information.
Are there any kind of suggestions for preserving the quality of outfit shirts? I desire my financial investment to last! I’ve found out a whole lot from find suppliers for your needs regarding correct care methods.
Thanks for the detailed guidance. More at https://www.phone-bookmarks.win/easy-do-it-yourself-solutions-to-reduce-your-air-conditioning-expenses .