Generate a Certificate Signing Request (CSR) in macOS Keychain Access

macOS 10.14 (Mojave)

1. Open the Keychain Access application, located at /Applications/Utilities/Keychain Access.app.

Keychain Access.app

 

2. Select Keychain Access >> Certificate Assistant >> Request a Certificate From a Certificate Authority… from the menu.

Request a Certificate From a Certificate Athority

 

3. In the Certificate Assistant window that opens, enter your email address in the User Email Address 

field. Then, enter the Fully Qualified Domain Name (FQDN) of the website this certificate will protect in

the Common Name field (depending on the certificate type, this may be a wildcard, such

as *.example.com). Leave the CA Email Address field blank. Check the Saved to disk radio button.

Enter email address and common name

4. If you want to change the default key size and algorithm for the key pair (optional), check the Let me specify key pair information checkbox.

Let me specify key pair information

 

5. Click the Continue button.

Continue button

 

6. In the dialog box that appears, give the CSR a filename with the extension .certSigningRequest, choose a location to save it, and click the Save button.

create filename

 

 

7. If you checked the optional Let me specify key pair information checkbox in step 4 above, you will be

prompted to choose the Key Size and Algorithm from the drop-down menus. After setting them,

click Continue. If you did not check the box this prompt will not appear.

Select key size and algorithm

 

8. Your new CSR will be saved to disk in the location you specified. Clicking the Show In Finder… button

will open a finder window with the CSR file.

Show In Finder 

CSR in Finder

 

9. Click the Done button to close the Certificate Assistant window.

Done button

 

10. You can confirm that your new key pair has been generated and installed in your system by clicking All Items in the left-hand 

Category menu of the main Keychain Access window and typing the Common Name for the new CSR in the search box at the upper right.

Search for key pair

 

原文:https://www.ssl.com/how-to/csr-generation-in-macos-keychain-access/

 参考资料:https://help.apple.com/developer-account/?lang=zh-cn#/devbfa00fef7

posted @ 2019-12-05 18:24  景岳  阅读(601)  评论(0编辑  收藏  举报