Report this

What is the reason for this report?

How to install ssl certificate using App in digitialocean

Posted on September 6, 2023

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)



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!

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.

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.

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

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.