Need a domain and ssl certificate

0

Hi, I have created a Rshiny package in AWS http://18.210.155.88/iMGDAVis currently my Rshiny is working with shinyserver and nginx. I would like to get a domain, www.gudalab-rtools.net, and my tools need to work with https://www.gudalab-rtools.net/iMGDAVis. I need to know how to get the ssl certificate to get https. can you please help me? Is there is way to get a domain name and ssl certificate from amazon cloud?

4 Answers
4

Hello,

To obtaining a domain and SSL certificate for your RShiny application on AWS can be done seamlessly. Here's a step-by-step guide:

1.Purchase a Domain: You can register a domain directly through AWS Route 53 or through third-party registrars like GoDaddy. AWS Route 53 offers simplicity and integration with other AWS services.

2.Create an ACM Certificate: After registering your domain, proceed to AWS Certificate Manager (ACM) to request an SSL certificate. Ensure you include both the domain name (e.g., www.gudalab-rtools.net) and any additional subdomains you'll be using. Once approved, ACM will issue the SSL certificate.

3.Configure Hosted Zones: Once the SSL certificate is issued, associate it with your domain's hosted zone in Route 53. This step ensures that incoming traffic to your domain is properly encrypted.

4.Utilize CloudFront (Optional): If you're using CloudFront as a CDN (Content Delivery Network) for your RShiny application, it's recommended to create ACM certificates in the North Virginia (us-east-1) region. CloudFront requires certificates to be in this region for global distribution.

5.Update Nginx Configuration: Once your SSL certificate is associated with your domain, update your Nginx configuration to enable HTTPS. Ensure that your RShiny application is accessible via HTTPS by configuring Nginx to proxy_pass requests to the appropriate URL.

6.Test: After making these changes, thoroughly test your application to ensure that it's accessible via HTTPS and that the SSL certificate is properly configured. By following these steps, your RShiny application will be securely accessible via the desired domain (www.gudalab-rtools.net) over HTTPS. If you encounter any issues or need further assistance, feel free to ask!

profile picture
EXPERT
answered a year ago
0

Hi

AWS SSL Certificates are Free but you must need load balancer or Cloudfromt for your website.

If you are not using load balancer or cloud front , You can use alternative way to configure Free SSL using certbot

Here is the example https://dev.to/ashirbadgudu/nginx-installation-https-ssl-setup-with-certbot-in-aws-ec2-1ee6

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
  • Hi, i am getting the following error. Can you please help me

    root@ip-172-31-72-5:# systemctl stop nginx root@ip-172-31-72-5:# certbot certonly --standalone -d gudalab-rtools.net Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for gudalab-rtools.net

    Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems: Domain: gudalab-rtools.net Type: dns Detail: no valid A records found for gudalab-rtools.net; no valid AAAA records found for gudalab-rtools.net

    Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

    Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

0

Thanks for the quick response. Is there a way to get a domain name in AWS? or I need to use third-party software

answered a year ago
0

Hi, i am getting the following error. Can you please help me

root@ip-172-31-72-5:# systemctl stop nginx root@ip-172-31-72-5:# certbot certonly --standalone -d gudalab-rtools.net Saving debug log to /var/log/letsencrypt/letsencrypt.log Requesting a certificate for gudalab-rtools.net

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems: Domain: gudalab-rtools.net Type: dns Detail: no valid A records found for gudalab-rtools.net; no valid AAAA records found for gudalab-rtools.net

Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.

Some challenges have failed. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions