[转]OneinStack自动部署Let’s Encrypt证书

Let’s Encrypt是一个由电子前哨基金会、Mozilla基金会、Akamai、密歇根大学、思科联合发起的一个项目。它旨在为站长提供一个免费的、完全自 动化的证书申请过程,从而让整个互联网都能享受到HTTPS加密。Let’s Encrypt的证书申请过程非常简单、安全、快速、自动化并且免费。Let’s Encrypt是一个中间CA,它的CA证书由IdenTrust签发。IdenTrust是一个Root CA,受到所有主流浏览器的信任。从2015年10月后,Let’s Encrypt的中间CA证书被chrome、Firefox、Microsoft Edge、Safari和Opera所信任。

最近官方做了调整,简化了获取证书的难度,并将项目名改为了certbot,以前叫letsencrypt。certbot可以自动化的申请,安装和更新证书。

OneinStack已经内置Let’s Encrypt证书,vhost.sh绑定域名时自动申请、绑定、自动续期(默认90天)一步到位,教程如下:

安装

wget http://mirrors.linuxeye.com/oneinstack.tar.gz
tar xzf oneinstack.tar.gz
cd oneinstack
./addons.sh

如下图:

出现绿色Let’s Encrypt client install successfully!即表示certbot安装成功,如下图:

使用证书

vhost.sh绑定域名ssl选择y,Let’s Encrypt选择y

./vhost.sh

注:绑定域名后会自动在crontab添加相应自动续期脚本。

分享到:

384 条评论

昵称
  1. A person essentially help to make significantly articles I might state. This is the very first time I frequented your web page and to this point? I surprised with the analysis you made to make this particular submit extraordinary. Wonderful activity!

  2. I got what you intend, thankyou for putting up.Woh I am glad to find this website through google. “Since the Exodus, freedom has always spoken with a Hebrew accent.” by Heinrich Heine.

  3. steroide kaufen

    Greetings from Florida! I’m bored to tears at work so I decided to check out your blog on my iphone during lunch break. I love the info you provide here and can’t wait to take a look when I get home. I’m surprised at how quick your blog loaded on my mobile .. I’m not even using WIFI, just 3G .. Anyways, superb blog!

  4. Some genuinely interesting info , well written and broadly speaking user pleasant.

  5. Hi there, You’ve done an excellent job. I will certainly digg it and personally suggest to my friends. I am sure they will be benefited from this website.

  6. Heya i’m for the primary time here. I came across this board and I in finding It really helpful & it helped me out much. I’m hoping to provide something again and help others like you aided me.

  7. adipex kaufen

    Thanks for sharing excellent informations. Your website is very cool. I’m impressed by the details that you have on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. You, my pal, ROCK! I found just the information I already searched all over the place and just could not come across. What a perfect website.

  8. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a little bit, but other than that, this is magnificent blog. A fantastic read. I will definitely be back.

  9. Some truly nice and useful info on this website, also I believe the design and style has got superb features.

  10. 4chan porn

    the time to study or stop by the subject material or sites we have linked to below the

  11. Nice read, I just passed this onto a colleague who was doing some research on that. And he actually bought me lunch since I found it for him smile So let me rephrase that: Thank you for lunch! “Dreams are real while they last. Can we say more of life” by Henry Havelock Ellis.

  12. important link

    Do you have a spam problem on this blog; I also am a blogger, and I was wanting to know your situation; many of us have created some nice practices and we are looking to swap methods with others, please shoot me an e-mail if interested.

  13. the time to read or visit the content or websites we’ve linked to below the

  14. mimai beach

    check beneath, are some completely unrelated sites to ours, even so, they are most trustworthy sources that we use

  15. usually posts some quite fascinating stuff like this. If you are new to this site

  16. that may be the end of this write-up. Here youll obtain some websites that we think youll enjoy, just click the links over

  17. wand vibrator

    Wonderful story, reckoned we could combine a couple of unrelated data, nevertheless seriously really worth taking a look, whoa did one particular discover about Mid East has got a lot more problerms as well

  18. pocket vagina

    we came across a cool internet site that you may well delight in. Take a look for those who want

  19. Sites of interest we’ve a link to

  20. I discovered your blog site on google and check just a few of your early posts. Proceed to maintain up the very good operate. I just extra up your RSS feed to my MSN Information Reader. In search of ahead to reading more from you afterward!…

  21. Real money

    Wonderful story, reckoned we could combine a couple of unrelated data, nevertheless really really worth taking a look, whoa did one study about Mid East has got a lot more problerms at the same time

  22. Here is a great Weblog You may Uncover Interesting that we Encourage You

  23. Dieta

    I gotta favorite this site it seems very beneficial very beneficial

  24. always a big fan of linking to bloggers that I appreciate but really don’t get a whole lot of link really like from