Editing
Rodeo Four Production Server
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Updating certificate==== [[Renew website certificate]] The following code blocks are old information, currently being kept as records. <code>See [https://www.robertwent.com/blog/using-letsencrypt-serverpilot/ here] for full instructions.</code> <code> Backup</code> mkdir ~/Backups/YYYY-MM-DD_certificates mkdir ~/Backups/YYYY-MM-DD_vhosts sudo cp /etc/letsencrypt/live/ces.fas.harvard.edu/chain.pem ~/Backups/YYYY-MM-DD_certificates/chain.pem sudo cp /etc/letsencrypt/live/ces.fas.harvard.edu/fullchain.pem ~/Backups/YYYY-MM-DD_certificates/fullchain.pem sudo cp /etc/letsencrypt/live/ces.fas.harvard.edu/privkey.pem ~/Backups/YYYY-MM-DD_certificates/privkey.pem sudo cp /etc/letsencrypt/live/ces.fas.harvard.edu/README ~/Backups/YYYY-MM-DD_certificates/README sudo cp /etc/nginx-sp/vhosts.d/cesproduction.conf ~/Backups/YYYY-MM-DD_vhosts/cesproduction.conf sudo cp /etc/nginx-sp/vhosts.d/cesproduction.d/main.conf ~/Backups/YYYY-MM-DD_vhosts/main.conf sudo cp /etc/nginx-sp/vhosts.d/ssl.conf ~/Backups/YYYY-MM-DD_vhosts/ssl.conf cd /opt/certbot ./certbot-auto certonly --webroot -w /srv/users/serverpilot/apps/cesproduction/public -d ces.fas.harvard.edu sudo service nginx-sp restart</code> <code> Rollback</code> sudo cp ~/Backups/YYYY-MM-DD_certificates/cert.pem /etc/letsencrypt/live/ces.fas.harvard.edu/cert.pem sudo cp ~/Backups/YYYY-MM-DD_certificates/chain.pem /etc/letsencrypt/live/ces.fas.harvard.edu/chain.pem sudo cp ~/Backups/YYYY-MM-DD_certificates/fullchain.pem /etc/letsencrypt/live/ces.fas.harvard.edu/fullchain.pem sudo cp ~/Backups/YYYY-MM-DD_certificates/privkey.pem /etc/letsencrypt/live/ces.fas.harvard.edu/privkey.pem sudo cp ~/Backups/YYYY-MM-DD_certificates/README /etc/letsencrypt/live/ces.fas.harvard.edu/README sudo cp ~/Backups/YYYY-MM-DD_vhosts/cesproduction.conf /etc/nginx-sp/vhosts.d/cesproduction.conf sudo cp ~/Backups/YYYY-MM-DD_vhosts/main.conf /etc/nginx-sp/vhosts.d/cesproduction.d/main.conf sudo cp ~/Backups/YYYY-MM-DD_vhosts/ssl.conf /etc/nginx-sp/vhosts.d/ssl.conf</code> <code>This will update the certificate without modifying any configuration files. Server Pilot is touchy about modified configurations. This is what happens behind the scenes: Lets Encrypt gives certbot a challenge. Certbot places a resource with the challenge in a subdirectory of the web root, making it publicly visible. Let's Encrypt verifies the resource. Certbot removes the resource. Let's encrypt issues the certificate.</code>
Summary:
Please note that all contributions to CES IT Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
CES IT:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Main Page
How-to's
Add Users to Wiki
Renew certificate
Edit Event Request Form
Signage information
Automated Sign-in Sheet
Crimson Print Information
Event Recording setup
Updating CES listservs
Record new voicemail menus
Crimson Print Network Access
Tiles & Editing for recorded events
SharePoint sharing
Constant Contact Handling / Updates
Social Media sharing/Configuring Global & Content SEO
Zotero + Obsidian / citations plugin interaction with AI
Website How-to's
Editing the Directions Button on Events
Double Booking Notification
UAT Testing Site
Lists
Computers
Licenses and Accounts
Listservs
Monitors
Network devices
Offices
Phones
Printers
Rooms
Routines
CMS Website Update
Imarc website update
CMS Website updates
Service Contracts
Ricoh Service Contract
Server Management
Upgrade Older Ubuntu Versions
Add a New User to Digital Ocean SSH
Tools
What links here
Related changes
Page information
Navigation
Special pages