Question

How to install ssl certificate using App in digitialocean

I did App aplication instead to make a droplet and it’s working fine my app is a web page in laravel and I bought a domain in Namecheap… I did link my app (digitalocean) with my domain without issues… but I have a question how to install the certificate…in the option App in digitalocean is available a terminal…but, I don’t know how to create the file crs…in a few words I dont know how to make the certificate using App in digitalocean (My app use nodejs)


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
September 6, 2023

Hi there,

One of the benefits of using the DigitalOcean App Platform is its managed SSL/TLS. The platform automatically provisions and renews SSL certificates for the domains you add. If you have linked your domain to the DigitalOcean App Platform successfully, an SSL certificate should be automatically provisioned for your domain.

Here’s a step-by-step guide on how to set up a custom domain and SSL with the DigitalOcean App Platform:

  1. Add a Custom Domain to Your App:

    • Navigate to the DigitalOcean control panel.
    • Go to your app’s dashboard within the App Platform.
    • Under the “Domains” section, click “Add Domain”.
    • Enter your custom domain and click “Add”.
  2. Update DNS Records:

    • Go to your domain registrar (in your case, Namecheap) and update the DNS records to point to the DigitalOcean App Platform. DigitalOcean should provide you with the necessary CNAME or A records.
    • It might take some time for DNS propagation, so be patient.
  3. Automatic SSL Certificate Provisioning:

    • Once the DNS records are correctly set up and propagated, DigitalOcean’s App Platform will automatically provision an SSL certificate for your domain using Let’s Encrypt.
    • After this step, your app should be accessible via https:// followed by your custom domain.

You don’t need to create CSR files or manually handle certificates because DigitalOcean automates this for you.

Hope that this helps!

Best,

Bobby

alexdo
Site Moderator
Site Moderator badge
September 14, 2023

Keep in mind that if you are using the DigitalOCean App Platform this is all done automatically. The renew is also done automatically and you can rest assured that this is under control.

Regards

KFSys
Site Moderator
Site Moderator badge
September 6, 2023

Heya,

If you are using the DigitalOCean App Platform this is all done automatically. With the App Platform, DigitalOcean creates, manages, and renews your SSL certificates automatically.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel