CSR Generation on macOS using Keychain

CSR Generation on macOS using Keychain

This article will guide you through the process of generating a CSR on the following Mac operating systems: macOS Catalina, macOS High Sierra, and macOS Mojave. The CSR code generated will be utilized during the ការធ្វើឱ្យសកម្ម of your SSL certificate.

ចំណាំសំខាន់: If you are using the MacOS Server application you will need to follow the steps described in អត្ថបទនេះ.

When using Keychain for CSR generation, locality, state and organization cannot be specified. If you would like to specify these details, you will need to generate a CSR using an online ឧបករណ៍ or the Terminal application as shown នៅ​ទីនេះ ជំនួស។

Follow these steps to generate your CSR:

ជំហានទី 1

ចូលទៅ /Application/Utilities menu and locate and open the Keychain Access.app. ពីបញ្ជី។

ជំហានទី 2

Click through the following options in the app menu: ការចូលប្រើឃីខេ >> Certificate Assistant >> Request a Certificate From a Certificate Authority….

ជំហានទី 3

In the following window, you will need to fill out the details for your future certificate. Please enter the following information:

  • User Email Address – enter the address of your mailbox to this field.
  • Common Name – enter the domain name you would like the certificate to be issued for in this field

    ចំណាំ: The domain may differ depending on the type of SSL, for example, a domain name for wildcard type SSL needs to be entered with an asterisk; for example, *.example.com.
  • CA Email Address – make sure to leave this blank

ជំហានទី 4

Make sure to mark the Saved to disk ប្រអប់ធីក។

ជំហានទី 5

If you want to specify a certain key size for the CSR, make sure to tick the corresponding checkbox as shown in the image below:

If you choose this option, the window to enter the key information will appear a bit later. The description of the process is outlined in step 8.

ជំហានទី 6

ចុចប៊ូតុង បន្ត ប៊ូតុងដើម្បីបន្តទៅជំហានបន្ទាប់។

ជំហានទី 7

In the dialog box that follows, specify the name for your CSR file.

ចំណាំ: Whatever the file name is, it should end with .certSigningRequest ផ្នែកបន្ថែម។

Choose a location to save the file to and click the Save ប៊ូតុង។

ជំហានទី 8

ប្រសិនបើអ្នកបានពិនិត្យ Let me specify key pair information option earlier, you will be prompted to choose the ទំហំគន្លឹះ និង ក្បួនដោះស្រាយ for your keys now.

ចំណាំ: Key pair is the matching CSR and Private key codes which are generated simultaneously and used for the same certificate setup.

The default values are 2048 bits and RSA algorithm. Select the new key size and click បន្ត.

ជំហានទី 9

The generated CSR code will be saved to disk in the specified location. Click the Show In Finder button to open the file in its location.

ជំហានទី 10

Open the CSR file in the កែសម្រួលអត្ថបទ app to view its contents. The content of this file should be used to activate the SSL certificate.

ជំហានទី 11

ចុច ធ្វើ to finish the process and close the window.

ជំហានទី 12

To locate the Private key generated together with the CSR code, navigate to the Keychain Access.app >> ជ្រើសរើស ធាតុទាំងអស់ ពីទំព័រ ប្រភេទ menu to the left.

Enter the domain name of the CSR into the search field in the upper-right section of the menu. The generated key pair will appear on the list.

Copy the CSR code inside the .certSigningRequest file opened earlier and proceed with the SSL activation process described នៅ​ទីនេះ.

After your SSL has been validated and issued, you can proceed with the installation by referring to ការណែនាំនេះ.