# Setting Up Root CA Issuance

This section covers the setting up Root CA in emCA.

## CA Certificate Profile Creation

1. Login as an Administrator
2. Click on Manage Profiles
   1. Certificate Profiles -> X509
3. Basic Information
   1. Profile Type: CA
   2. Profile Name: Your Root User Identifier
   3. Validity: as per your CA guidelines
   4. Issuing CA: Please select the corresponding issuing CA for "Self-Signed" in order to create root CA else select any existing CA in order to SUB CA.
   5. Choose algorithm: Select the preferred Algorithm type.
   6. Signature algorithm: Select as per your preferred algorithm type.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2F62Z7DjzgJ8FKcclZNJ5v%2Fimage.png?alt=media&#x26;token=5c2160d4-df94-4f42-9071-7c5dc231bceb" alt=""><figcaption></figcaption></figure>

4. Select the DN details: These are as per your regional CA controller.
   1. House Identifier
   2. Country
   3. Organization

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2F5BnFjFF8J5jAXWt1mE2D%2Fimage.png?alt=media&#x26;token=dd52c670-c1c6-46ac-bb4b-2da0cb2b1478" alt=""><figcaption></figcaption></figure>

5. X509 Certificate Extensions: Select the X509 certificate extension
   1. Basic constraint,
   2. Key Usage,
   3. Subject Key Identifier, etc.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2Fi9QBdQxiGm5thEPqmLgC%2Fimage.png?alt=media&#x26;token=d8b4bc9b-40e3-4831-b87a-688f939d2b39" alt=""><figcaption></figcaption></figure>

6. Click on “Proceed” once the selection of DN details and X509 Certificate Extensions are completed.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FoqOu7klxHo7Nzik6VMc0%2Fimage.png?alt=media&#x26;token=e3186812-eb00-491d-8245-e146889f86d2" alt=""><figcaption></figcaption></figure>

7. Authenticate as an Administrator

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2Fy2Msqzp4SDKX1dTn1YVg%2Fimage.png?alt=media&#x26;token=cff42731-a713-4cfc-946a-fbeabace5947" alt=""><figcaption></figcaption></figure>

8. Issuing CA Certificate Profile will be created successfully.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2Fwy1cY3y2fxBbjn2jwCua%2Fimage.png?alt=media&#x26;token=4c2775f3-2a14-427c-8b23-31fc7a31669e" alt=""><figcaption></figcaption></figure>

## Officer Generating Key Pair

1. Login as an Officer User
2. Click on Manage CA Certificates -> Enroll
3. Generate Key Pair:
   1. Select the Number of Keys
   2. Key Profile: Select where you want to store the Keys
   3. Chose algorithm: Select the Key pair algorithm
   4. Signature algorithm: Select the signature algorithm as per the chosen algorithm
   5. Key Algorithm & Size: Select the size of the Key Algorithm as per the chosen algorithm

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FInD87YBImxeT4VsfLFHq%2Fimage.png?alt=media&#x26;token=c149feca-c01a-493c-a338-fe9678a09185" alt=""><figcaption></figcaption></figure>

4. Click on Proceed
5. Authenticate as an Officer
6. Click on “Generate Key Pair”

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FQGa5iKtmmS2MRxz1yDNZ%2Fimage.png?alt=media&#x26;token=89b627b6-b189-483a-a3b2-6d4c56c6fef9" alt=""><figcaption></figcaption></figure>

7. Key pair is generated successfully. Click on “View All” to view the crested key pair or “New” for creating a new Key Pair.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FTG8tiVsZQFSel5nTbMNj%2Fimage.png?alt=media&#x26;token=68c7e580-f37a-4f94-ac7c-ae5b7a14b38b" alt=""><figcaption></figcaption></figure>

## CA Certificate Issuance

1. Click on “Action: icon” for creating the certificate using the newly generated or existing key pair.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FDEaoSwJDx6DdZ4HUzOJz%2Fimage.png?alt=media&#x26;token=ccaa1baa-e4c3-4db9-a2ef-945d86eba561" alt=""><figcaption></figcaption></figure>

2. Enter the Root/ sub-CA Certificate Profile DN information as Administrator configured.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2Fygai9Fzt4wzHi7dKKtfm%2Fimage.png?alt=media&#x26;token=737c7a49-0b50-4778-8a87-da24d27b86e9" alt=""><figcaption></figcaption></figure>

3. Authenticate as an Officer and click on “Create”

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FRQCh2kw9MHvMT4h6IK0w%2Fimage.png?alt=media&#x26;token=f158fe41-f7b0-464d-9f57-2c64d619d16a" alt=""><figcaption></figcaption></figure>

4. Certificate is ready to download after successful authentication.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FA22iw3l7oWjCy468wbhd%2Fimage.png?alt=media&#x26;token=fafd1fa5-6d9e-45b1-bf54-66bb750c8edb" alt=""><figcaption></figcaption></figure>

5. Click on “View all” to see all the issued CA certificates or “New” to create a new certificate with the key pair and CA certificate Profile.

<figure><img src="https://2804668976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOwstGDJbR4yGRTr2aEFp%2Fuploads%2FmxntAQ37leHb8jkqZKmU%2Fimage.png?alt=media&#x26;token=fa075934-efb2-437c-b605-5e18e0d6ade1" alt=""><figcaption></figcaption></figure>
