DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • AWS Managed Database Observability: Monitoring DynamoDB, ElastiCache, and Redshift Beyond CloudWatch
  • Architecting Petabyte-Scale Hyperspectral Pipelines on AWS
  • Why SAP S/4HANA Landscape Design Impacts Cloud TCO More Than Compute Costs
  • We Went Multi-Cloud and Almost Drowned: Lessons From Running Across AWS, GCP, and Azure

Trending

  • OpenAPI From Code With Spring and Java: A Recipe for Your CI
  • Run Gemma 4 on Your Laptop: A Hands-On Guide to Google's Latest Open Multimodal LLM
  • Your AI Agent Tests Are Passing, But Your Agent Is Still Broken
  • Bringing Intelligence Closer to the Source: Why Real-Time Processing is the Heart of Edge AI
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Get a Certificate From AWS Certificate Manager

Get a Certificate From AWS Certificate Manager

Follow along with a step-by-step guide to securing your application in AWS with HTTPS.

By 
$$anonymous$$ user avatar
$$anonymous$$
·
Sep. 06, 16 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
5.1K Views

Join the DZone community and get the full member experience.

Join For Free

Recently, AWS made the 'Certificate Manager' service available in the European region. With this service, you will be able to use SSL certificate (for free) with your applications hosted on AWS. The big advantage compared to the solution I described here is that this way I don’t have to put the certificate in my source code or have to copy it to my application. I want my Elastic Beanstalk application only to be available via HTTPS. To get this in place, I need to take the following steps:

  • Assign a (sub)domain to your application.
  • Obtain a certificate from the AWS Certificate Manager.
  • Configure AWS Beanstalk application to use SSL.

In this post, I show how I obtained an SSL certificate in the AWS Certificate Manager for the subdomain I registered in Route53 as described in my previous post. The main issue in this step of the process is that when I use the Management Console to get a certificate for my subdomain a verification mail is sent to ‘[email protected]’ instead of to ‘[email protected]’. Because my top level domain is registered outside AWS it wasn’t possible for me to get these mails in my inbox. But there is a workaround for this: Just make use of the AWS CLI as stated in the ‘troubleshoot‘ documentation. In that case, you can enter the top-level domain to be used for the verification mail. The command I used to get an SSL certificate for the subdomain ‘test.palmapps.nl’ is:

aws acm request-certificate --domain-name test.palmapps.nl --domain-validation-options DomainName=test.palmapps.nl,ValidationDomain=palmapps.nl


After performing this command, an email is received to confirm the request for the certificate:

Image title


When you click the link in the mail, you get to a webpage where you can approve the request for the certificate:

Image title


That’s it! You now have an SSL certificate registered at AWS. When I now have a look at the Certificate Manager in the Management Console, I see the certificate for test.palmapps.nl:

Image title


Now that I have obtained a certificate let me show you in the next post how to use it.

AWS

Published at DZone with permission of $$anonymous$$. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • AWS Managed Database Observability: Monitoring DynamoDB, ElastiCache, and Redshift Beyond CloudWatch
  • Architecting Petabyte-Scale Hyperspectral Pipelines on AWS
  • Why SAP S/4HANA Landscape Design Impacts Cloud TCO More Than Compute Costs
  • We Went Multi-Cloud and Almost Drowned: Lessons From Running Across AWS, GCP, and Azure

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook