NEWS COMMUNITY STORE LABS LINUX SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS LINUX TOGGLE FULLSCREEN VOLLBILD AN/AUS image/svg+xml image/svg+xml image/svg+xml LET'S ENCRYPT
Https for your server
image/svg+xml image/svg+xml Https for your server image/svg+xml
quick-tip img:not(.icon) quick-tip img:not(.icon) quick-tip img[data-info] APP | VERSION
Linux/Ubuntu 22


RELATED TAGS
linux, https, server, remote


QUESTIONS
How can I create a webserver with https?
What do I need to get secure certifcates for http?
How do I use certbot to create cert.pem & key.pem files for https?


LINKS
Let's Encrypt - Official Free SSL Certificate Tutorial Certbog - Official
    Login
Login on the remote server via ssh you@local:$ssh root@{server-adress}
Or if you use a custom key: you@local:$ssh -i {fullpath/to/private/key} root@{server-adress}


    Install CertBot
Install certbot, which will help in the process of creating/validating the certificates. root@server:$snap install --classic certbot Verify that everything works as expected by creating a symbol link: root@server:$ln -s /snap/bin/certbot /usr/bin/certbot


    Stop Your Webserver
Depending on your setup, stop your server (that is serving on port 80) until the setup is finished.

As an alternative to stopping your server: If you have a server, that can serve files, read more at Certbot.


    Create Certificates
Start the guide for the certificates: root@server:$certbot certonly --standalone
It will ask you for your domain, without a protocol at the start and without a port at the end

E.g for https://rokojori.com:3000 => rokojori.com


    Ensure Access Rights
The certificates, that certbot just created, are created for the root user and are not accessible by any other specific user.

For instance, if you want your gitea user (which is handling the server for the https/ssl certificates) to have access, change the ownership of those files: chown {user}:{user} {path}


    Configure & Restart Your Webserver
Configure your server to use the certificates, that certbot just created (it should have told the path).

Some links to common setups:

Gitea - Serve HTTPS


APP | VERSION
Linux/Ubuntu 22


RELATED TAGS
linux, https, server, remote


QUESTIONS
How can I create a webserver with https?
What do I need to get secure certifcates for http?
How do I use certbot to create cert.pem & key.pem files for https?


LINKS
Let's Encrypt - Official Free SSL Certificate Tutorial Certbog - Official
LINUX






All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...