What is a CSR and how do I get one?

Mar

05

2019

所要時間

読了割合

著者:

Diana Gruhn

所要時間

著者:

A certificate signing request or CSR is the first step toward building an SSL/TLS certificate. It's a chunk of encoded text that can be created automatically by the server you wish to have your SSL/TLS certificate installed on. It generates a unique public key that will be used by the browser to match with the private key that is concealed inside the server. This is what makes CSRs a necessary part of constructing an SSL/TLS certificate.

For something that is seemingly complex and nebulous to a layperson, CSRs are surprisingly easy to create. They should be generated on the same webserver where the certificate will be installed by following instructions specific to your server type.

Within the CSR there is an optional field for Subject Alternative Names (SANs). For a server certificate that requires one or more SAN names there are 2 different ways to specify the SANs: 1. SANs can be specified within the CSR or 2. SANs can be added manually at the time the certificate is generated on our website.

You may add identifiable information, but most public certification authorities (CAs) bypass the information provided in the CSR and apply only the verified information into the certificate.

CSR FieldWhat is itExample
Common name (CN=)Fully qualified name of your serverwww.entrust.com
Organization (O=)組織名Entrust Inc. 
Organizational Unit (OU=)Department name (optional)IT
City/Locality (L=)City/LocalityShakopee
State/Province (S=)State/Provinceミネソタ
Country (C=)2 Letter Country CodeUS
SAN(s)Subject Alternative Name(s)(optional)

san1.entrustdatacard.com, san2.entrustdatacard.com,

 

san3.entrustdatacard.com, etc

 

 

Voila! Copy and paste the CSR where prompted during the purchase process or within your Entrust Datacard portal, if you have an account. You may also send it over to the us after you’ve purchased your SSL/TLS certificate from us, and your certificate will soon be ready to be deployed.

 

Additional CSR FAQs

なぜ証明書署名リクエストが必要なのですか?

証明書署名リクエストは、デジタル証明書を生成するためにEntrust Certificate Services(ECS)で必要となります。登録プロセス中にEntrust Certificate Servicesに送信する必要があります。Entrust Certificate Services(ECS)が、新しい証明書を発行します。

証明書署名リクエストを生成するには、どうすればよいですか?

Your Web Server Technical Manual should be the primary source of information.

CSRを生成するとき、どのガイドラインを使用する必要がありますか?

  • Do not use special characters or shift characters in the challenge or revocation passphrase. These characters are unsupported. This includes the following: “.,;-@#$%^&!*)(-+=< / >?/:
  • Do not use special characters or shift characters in the Organization or Organization Unit level. These characters are unsupported. This includes the following: “.,;-@#$%^&!*)(-+=</ >?/:
  • ビット長が2048を超える鍵は使用しないでください。 長いビット長はサポートされていません。
  • CSRはBase 64(pem)書式でエンコードされている必要があります。一部のFTPプログラムやテキスト エディタ プログラムは、書式が乱れる原因となることがあります。
  • WebMethodsサーバーを使用している場合は、失効パスフレーズを入力しないでください。 このパスフレーズは、Entrust証明書の登録時にオンラインで入力したパスフレーズとは完全に別のものです。ご注意ください。
  • If you are using IKEMAN on a Unix system, please do not use any punctuation characters or special characters when creating the CSR. This includes “.,;-@#$%^&!*)(-+=< / >?/:
  • サーバー証明書ウィザードからIIS 5または6の更新機能を使用しないでください。Microsoftサポート情報記事Q 295281の手順を参照してください。注意: 別のCA(Verisign)で取得した証明書を更新する場合も、同じサポート情報記事を参照してください。
  • 自己署名証明書は使用しないでください。 これは証明書署名リクエスト(CSR)PKCS#10リクエストと異なります。

CSRは次のような体裁です。

-----BEGIN NEW CERTIFICATE REQUEST-----

MIIDGjCCAoMCAQAwgYQxITAfBgNVBAMTGHd3dy50ZXN0Y2VydGl QoubDqnc7Duih17eR1zmrUuJiwEj8vFk0Us5Ka3XEar4frLNzeW AAGgggFTMBoGCisGAQQBgjcNAgMxDBYKNS4wLjIxOTUuMjA1Bgo rBgEEAYI3AgEOMScwJTAOBgNVHQ8BAf8EBAMCBPAwEwYDVR0lBA wwCgYIKwYBBQUHAwEwgf0GCisGAQQBgjcNAgIxge4wgesCAQEeW gBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBu AG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFA AcgBvAHYAaQBkAGUAcgOBiQBfE24DPqBwFplR15/xZDY8Cugoxb yymtwq/tAPZ6dzPr9Zy30NnkKQbKcsbLR/4t9/tWJIMmrFhZonr x12qBfICoiKUXreSK89OILrLEto1frm/dycoXHhStSsZdm25vsz v827FKKk5bRW/vIIeBqfKnEPJHOnoiG6UScvgA8QfgAAAAAAAAA AMA0GCSqGSIb3DQEBBQUAA4GBAGsHA9fKzGdjfJRZoe07MNFqRb mwwX+M+EXpzS+78Wr6D7HUPk3g6ixkEcC3cLER5Rt5VMu9vjlmO IkJAzIWuWDj1Z4BpVeI33loaGS3PmLSnCt1lULaRalQNHk1vOc+ L0ygNwwNIvKLMPq4/LcUkZ9Oo4AssXW5mvvhHWGz2RWY

-----END NEW CERTIFICATE REQUEST-----

証明書署名リクエスト(CSR)の先頭行は

「-BEGIN CERTIFICATE REQUEST-」、最終行は「-END CERTIFICATE REQUEST-」です。

オンライン登録プロセス中に証明書署名リクエスト(CSR)を送信するときは、必ずこれらの行を含めてください。

申請中に [Invalid CSR](CSRが無効です)というメッセージが表示された場合や、[Next](次へ)ボタンが機能しない場合、どうすればよいですか?

This error will occur when the Certificate Signing Request (CSR) is improperly formatted (i.e., spaces or carriage returns breaking the encoded data). For general CSR guidelines, please see question 4 or refer to our web server documentation. If your CSR is still rejected, you should generate a new CSR on your Web Server and retry the enrollment process. Our Support Team is available to help you.

Entrustに追加のサポートを依頼するには、どのような方法で問い合わせたらよいですか?

If you have additional questions, or need information, please contact Entrust Support by calling 866-267-9297 (1-613-270-2680 outside of North America), Monday through Friday 8:00 AM to 6:00 PM Eastern Time, or log a service request, or email us at [email protected].

CSRの作成手順はどこで確認できますか?

Entrustには40種を超えるWebサーバー、デバイスでのCSR作成をサポートする説明書やオンラインツールが、他種多数そろっています。[Installation Instructions](インストール手順)ページを参照して、使用しているサーバーの種類をリストから見つけてください。

7-Part Blog Series

  1. SSL/TLS 101 — Why Do I Need an SSL/TLS Certificate
  2. SSL/TLS Certificate Types — Choosing the Right One for Your Use Case
  3. SSL/TLS Verification — Digital Identity for Your Website
  4. What is a SAN (Subject Alternative Name) and how is it Used?
  5. What is a CSR and How Do I Get One?
  6. What's the Difference between a Public and Private Trust Certificate?
  7. How to Build an SSL/TLS Certificate | The Five Simple Steps That Bring You to HTTPS

Additional Resources

How Does SSL/TLS Work?

Bi-Weekly Certificate Management Demo

diana gruhn
Diana Gruhn
Product Marketing Director, Entrust
Diana Gruhn is a Product Marketing Director at Entrust, the brand that keeps the world moving safely by enabling trusted identities, payments, and digital infrastructure around the globe. She has been working in the high technology industry for 10+ years and is enthusiastic about helping businesses stay secure as well as the people who transact with them.
View all of Diana's Posts
Facebook