-
Notifications
You must be signed in to change notification settings - Fork 0
setting up the certbot
Why do we need CertBot? CertBot is a free and open source software tool for automatically using Let's Encrypt certificates on manually-administrated websites to enable HTTPS. It is available for most Unix-like operating systems, including Linux, macOS and FreeBSD, and for Windows. CertBot is a very useful tool for setting up SSL for your server. You can find more information about CertBot here.
After setting up the CertBot you are gonna need to set up the CertBot in your server. You can use the following command to set up the CertBot in your server:
certbot certonly --standalone -d <domain-name>
Then certificates will be generated in a direction for your server depending to the operating system. You can find more information about CertBot here.
We'll assume you are using Windows. You can find more information about CertBot for Windows here.
Then 'C:\Certbot\live' location will be created. You can find your certificates in 'C:\Certbot\live<domain-name>' location.
And after you have to change .env file in your API directory. You have to change the following variables in .env file:
PRIVATE_LOCATION=C:\Certbot\live\<domain-name>
All rights reserved VPatient.