> ## Documentation Index
> Fetch the complete documentation index at: https://blockscout-vb-sourcify-migrate-to-api-v2.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-vb-sourcify-migrate-to-api-v2/tXdUT0vYV9y_RBYl/images/ac321ad7-image.jpeg?fit=max&auto=format&n=tXdUT0vYV9y_RBYl&q=85&s=e5b0aa747f03057a1fa6ae48eaf20cbc" 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-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/d6d001c1-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=d47051ed1d7fb422ff41f8f9ea70c097" 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-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/02c37a26-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=82353275ef521da1d2396fdd05f3a03e" 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-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/0eae8e36-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=fdde5a264e643bf3162fdf7f38ad21a1" 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-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/c851895e-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=99709977794850b2ba0d08002eef0d70" 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-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/3fd60fe0-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=d590dca64e56043da509f6d7b7679fd2" 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-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/30d7048f-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=56ba606557cea49395a737a3513a2271" 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-vb-sourcify-migrate-to-api-v2/-LubF9xiBMPdd24N/images/2d49bb16-image.jpeg?fit=max&auto=format&n=-LubF9xiBMPdd24N&q=85&s=bfa8267a05d739de79e9426e801002d6" 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-vb-sourcify-migrate-to-api-v2/POJpCSdBm8sZl4vQ/images/e5b02517-image.jpeg?fit=max&auto=format&n=POJpCSdBm8sZl4vQ&q=85&s=6bb104bb8a124464650aedaa09d66e69" width="2304" height="1436" data-path="images/e5b02517-image.jpeg" />
</Frame>
