> ## Documentation Index
> Fetch the complete documentation index at: https://blockscout-ap-optimize-logs-envs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating An AWS Certificate For SSL

> Optional process if you want to use SSL with your BlockScout instance

<Warning>
  If you **do not want to use SSL**, you can disable by adding the `use_ssl = "false"` parameter to the `terraform.tfvars` file.
</Warning>

### To create:

1\) Go to [https://console.aws.amazon.com/acm/](https://console.aws.amazon.com/acm/). Select provision certificates and click on get started:

<Frame caption="Get Started">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/A9S-JMH9FKq4w1iU/images/ac321ad7-image.jpeg?fit=max&auto=format&n=A9S-JMH9FKq4w1iU&q=85&s=e6d326daf0f9ff0e82f98a10532b1ab7" width="2304" height="1378" data-path="images/ac321ad7-image.jpeg" />
</Frame>

2\) Request a Public Certificate.

<Frame caption="Request a certificate">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/G4wbWmEiTloG-fEe/images/d6d001c1-image.jpeg?fit=max&auto=format&n=G4wbWmEiTloG-fEe&q=85&s=23c935fe213987ebf83a9e3770d0c3b7" width="2304" height="1378" data-path="images/d6d001c1-image.jpeg" />
</Frame>

3\) Add a domain you have access to and click **Next**.

<Info>
  This does not need to be the same domain for deployment - as long as it's a valid ARN on your account it will pass verification.
</Info>

<Frame caption="Add your Domain name">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/xrAdK8chuaObAVsS/images/02c37a26-image.jpeg?fit=max&auto=format&n=xrAdK8chuaObAVsS&q=85&s=49c16402d584f575ed86d4ac07d9272e" width="2304" height="1378" data-path="images/02c37a26-image.jpeg" />
</Frame>

4\) Choose your validation method (your preference) and click **Review**.

<Frame caption="Choose either method and click Review">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/xrAdK8chuaObAVsS/images/0eae8e36-image.jpeg?fit=max&auto=format&n=xrAdK8chuaObAVsS&q=85&s=6ca0e2cf5e2d3c375144018e9a11584d" width="2304" height="1378" data-path="images/0eae8e36-image.jpeg" />
</Frame>

5\) Review your information and click **Confirm and request.**

<Frame caption="Click Confirm and request">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/G4wbWmEiTloG-fEe/images/c851895e-image.jpeg?fit=max&auto=format&n=G4wbWmEiTloG-fEe&q=85&s=e968c913896801bfba98c218568799b9" width="2304" height="1436" data-path="images/c851895e-image.jpeg" />
</Frame>

6\) Click **Continue** to begin validation.

<Frame caption="Continue to Validate your certificate">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/xrAdK8chuaObAVsS/images/3fd60fe0-image.jpeg?fit=max&auto=format&n=xrAdK8chuaObAVsS&q=85&s=7819661a4b7a333b634a7e1b7115b4ba" width="2304" height="1378" data-path="images/3fd60fe0-image.jpeg" />
</Frame>

7\) Confirm the Domain:

* **DNS Validation:** Create a CNAME record in the DNS configuration for each of the domains listed below.
* **Email Validation:** Receive email and follow link

<Frame caption="Email Validation">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/xrAdK8chuaObAVsS/images/30d7048f-image.jpeg?fit=max&auto=format&n=xrAdK8chuaObAVsS&q=85&s=19c39c385af7143161e7042ab5a087e3" width="1208" height="1278" data-path="images/30d7048f-image.jpeg" />
</Frame>

8\) Approve the Certificate

<Frame caption="Click I Approve to complete the process">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/xrAdK8chuaObAVsS/images/2d49bb16-image.jpeg?fit=max&auto=format&n=xrAdK8chuaObAVsS&q=85&s=692376172c718e372625b4f380f582e6" width="2304" height="1436" data-path="images/2d49bb16-image.jpeg" />
</Frame>

9\) In the AWS Certificate Manager, click on the domain name to view the certificate details. **Copy and paste your ARN** into the `alb_certificate_arn` field in the `terraform.tfvars` file

<Frame caption="Copy and Paste the full ARN into the alb_certificate_arn field in terraform.tfvars">
  <img src="https://mintcdn.com/blockscout-ap-optimize-logs-envs/G4wbWmEiTloG-fEe/images/e5b02517-image.jpeg?fit=max&auto=format&n=G4wbWmEiTloG-fEe&q=85&s=9a99a9cc1a2c22070a87e792bb1da966" width="2304" height="1436" data-path="images/e5b02517-image.jpeg" />
</Frame>
