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

# Creating An AWS Certificate For SSL

> Request and validate a public AWS ACM certificate for SSL on Blockscout, then set the ARN in terraform.tfvars via alb_certificate_arn.

<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-erc-8056-envs/2CM9dVG90yyHoLtS/images/ac321ad7-image.jpeg?fit=max&auto=format&n=2CM9dVG90yyHoLtS&q=85&s=5026fd0cad968814b5f0254b885eeecb" 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-erc-8056-envs/9qk8lWUc2ML14l8X/images/d6d001c1-image.jpeg?fit=max&auto=format&n=9qk8lWUc2ML14l8X&q=85&s=b0f0fb8a0fb758b60a802a4a6afacb18" 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-erc-8056-envs/X0e6z3YuqwWjbfOJ/images/02c37a26-image.jpeg?fit=max&auto=format&n=X0e6z3YuqwWjbfOJ&q=85&s=dffd3faa582d66e25903a164b956c098" 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-erc-8056-envs/X0e6z3YuqwWjbfOJ/images/0eae8e36-image.jpeg?fit=max&auto=format&n=X0e6z3YuqwWjbfOJ&q=85&s=60ed51182cf242c40e4f6d759c577d3e" 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-erc-8056-envs/9qk8lWUc2ML14l8X/images/c851895e-image.jpeg?fit=max&auto=format&n=9qk8lWUc2ML14l8X&q=85&s=7ede4df75434c0b70dcbe4b83cf980c5" 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-erc-8056-envs/X0e6z3YuqwWjbfOJ/images/3fd60fe0-image.jpeg?fit=max&auto=format&n=X0e6z3YuqwWjbfOJ&q=85&s=3cf66ba6a1aabe45385b2f8b2f9f2f2b" 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-erc-8056-envs/X0e6z3YuqwWjbfOJ/images/30d7048f-image.jpeg?fit=max&auto=format&n=X0e6z3YuqwWjbfOJ&q=85&s=be089e95a124907dbb8eaa7a78e0eb6d" 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-erc-8056-envs/X0e6z3YuqwWjbfOJ/images/2d49bb16-image.jpeg?fit=max&auto=format&n=X0e6z3YuqwWjbfOJ&q=85&s=9e841ec6ee210bf1dbbd32861ea88237" 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-erc-8056-envs/9qk8lWUc2ML14l8X/images/e5b02517-image.jpeg?fit=max&auto=format&n=9qk8lWUc2ML14l8X&q=85&s=1c1644bbd59306944a8d5af15cab8433" width="2304" height="1436" data-path="images/e5b02517-image.jpeg" />
</Frame>
