Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contact info

Yueteng | yh958@cornell.edu


SSL Certs Expire on: December 26th 2021 March 25th 2022

Root domain

Root domain is:

Code Block
diaper-project.cfcom

(Note: Do NOT use this root domain directly. Instead, use the subdomains (for instance, xyz.diaper-project.cfcom  under the Domains to use table below.

Registered as a free domain (renewable every 12 months) at https://wwwdomains.freenomgoogle.com/

User account login info (email, password) are the same as gmail/github/etc

Current registration expires on 2021-12-05 (December 5th) (Must renew before expiration – See "How to renew?" section below)

How to see when it expires? Use browser to open a https domain (e.g. the dashboard domain below) > Click the lock icon in front of URL

  • (On Firefox) > The right arrow button > More information > Under "Security" tab > "Expires on"
  • (On Chrome) > Certificate > "Expires"
  • (On Safari) > Should be something similar

registrar/diaper-project.com/dns?authuser=4&_ga=2.49913062.1133395760.1674578263-1913509637.1674050734

access using the google email diapertestemail@gmail.com

Domains to use

Domains for backend APIs

Please refer to the tables in Deploy Services on AWS (Deprecated)

For API callers (i.e. frontend web/app)

Choose the domain accordingly, prepend it with http or https, and append it with port number and path.

Domains for frontend website (dashboard)

https://dashboard.diaper-project.cfcom

(If you visit via http:// (without secure) , you'll be automatically redirected to https:// (with secure))

Note: More details about this, go to the doc "Deploy React on AWS"

SSL Certificate for https (Skip this as long as you know what is SSL and certs)

The free SSL cert from Let's Encrypt is used for this purpose.

Let's Encrypt website (no need to visit for this purpose, though): https://letsencrypt.org/


Where do we need to use SSL certs?

SSL certs are required wherever there is a https and domain (Mind the s at the end)

...

Please refer to the two docs about how to deploy them to find details of using SSL certs.

Tutorial Video:

Tutorial video (named "SSL renew Part 1" and "SSL renew Part 2") are uploaded in this box folder. You will need to ask Liz to share with you for access.

https://cornell.box.com/s/qgq5fpwyen6mos9ndj8f64drksgp9qdx


Tutorial for creating SSL cert (Probably you ONLY need to see the "How to renew?" part)

[Tutorial: Configure SSL/TLS on Amazon Linux 2 - Amazon Elastic Compute Cloud]

...

For dashboard frontend, refer to the doc Deploy React (Deprecated) to know what to do after renewing SSL on dashboard frontend server.


You followed the steps above and have renewed certs on your laptop—now what?

  1. SSH into each server
  2. Locate the folder that currently holds the certs you want to update and delete its contents
  3. Copy the renewed certs from your laptop into the newly emptied folder using SCP

...