ACDB☰ MENU
Ads

Anime Characters Database Logo News

Fate/kaleid liner Prisma Illya Episode 6 Quotes May 6, 2020 | Rei
150 new quotes

Fate/kaleid liner Prisma Illya - Episode 6 Quotes

[Image]

Full Transcript

That was way more epic that I was expecting. Gonna have to watch a bit more of this !
SSL Renewal May 6, 2020 | Rei
This month has been hell for me, trying to cancel the old server, get a refund, and learn how to use Let's Encrypt certbot since our SSL certs were nearing expiry and the website I had been using to issue them discontinued that particular service. I came up with my own method, and will share it for anyone facing a similar situation!


How to use certbot to get SSL certs for a server you can ssh into, but not run certbot on.
And run certbot as a non-privilaged user without sudo.



# STEP 1 - Setup Dirs for certbot and sshfs

mkdir -p /home/rei/SSL/config
mkdir -p /home/rei/SSL/work
mkdir -p /home/rei/SSL/logs
mkdir -p /home/rei/SSL/webroot/.well-known/acme-challenge

# STEP 2 - Use sshfs to make the local challenge files magically appear on your remote server

sshfs rei:/home/www/htdocs/.well-known/acme-challenge /home/rei/SSL/webroot/.well-known/acme-challenge

# STEP 3 - Run certbot with all the domains

certbot certonly --webroot --webroot-path /home/rei/SSL/webroot --config-dir /home/rei/SSL/config --work-dir /home/rei/SSL/work --logs-dir /home/rei/SSL/logs -d animecharactersdatabase.com -d www.animecharactersdatabase.com -d 18.animecharactersdatabase.com -d rei.animecharactersdatabase.com -d ami.animecharactersdatabase.com

# STEP 4 - Confirm success run of certbot output

IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/home/rei/SSL/config/live/animecharactersdatabase.com/fullchain.pem
Your key file has been saved at:
/home/rei/SSL/config/live/animecharactersdatabase.com/privkey.pem
Your cert will expire on 2020-08-04. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"

# STEP 5 - Upload your fullchain.pem and privkey.pem and updated nginx.conf

scp /home/rei/SSL/config/live/animecharactersdatabase.com/fullchain.pem root@rei:/home/www/etc
scp /home/rei/SSL/config/live/animecharactersdatabase.com/privkey.pem root@rei:/home/www/etc
scp nginx.conf root@rei:/home/www/etc

# STEP 6 - Unmount sshfs

fusermount3 -u /home/rei/SSL/webroot/.well-known/acme-challenge

# STEP 7 - Restart nginx
Sword Art Online Alternative: Gun Gale Online Episode 1 Quotes May 5, 2020 | Rei
337 new quotes

Sword Art Online Alternative: Gun Gale Online - Episode 1 Quotes

[Image]

Full Transcript

Ads
Please know that cookies are required to operate and enhance our services as well as for advertising purposes. We value your privacy. If you are not comfortable with us using this information, please review your settings before continuing your visit. [close]
Ads

Anime Characters Database Logo Who's This Character Board | New Thread

07:46 am
Anonymous
Who is this ?
07:30 am
Anonymous
Who is this ?
04:54 am
Anonymous
Who is this ?

New Thread

Ads
All images are copyright of their respective owners.
Rendered in 8.6 ms. R-10-W-0-M-2184.54 KB Modified: Mon, 11 Nov 2019 14:39:59 -0500 Copyright © 2007-2020 Goral Software