Merge lp:~jtv/gwacl/cert-notes into lp:gwacl

Proposed by Jeroen T. Vermeulen
Status: Merged
Approved by: Jeroen T. Vermeulen
Approved revision: 16
Merged at revision: 15
Proposed branch: lp:~jtv/gwacl/cert-notes
Merge into: lp:gwacl
Diff against target: 25 lines (+15/-2)
1 file modified
README (+15/-2)
To merge this branch: bzr merge lp:~jtv/gwacl/cert-notes
Reviewer Review Type Date Requested Status
Julian Edwards (community) Approve
Review via email: mp+153707@code.launchpad.net

Commit message

Documenting a way to get the .cer file that Azure wants.

To post a comment you must log in.
lp:~jtv/gwacl/cert-notes updated
16. By Jeroen T. Vermeulen

No password on the certificate.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

8 +It'll prompt you for a password.

Say "don't enter one, just press enter" here.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README'
2--- README 2013-03-14 07:39:05 +0000
3+++ README 2013-03-18 02:07:22 +0000
4@@ -15,6 +15,19 @@
5
6 openssl pkcs12 -export -out azure.pfx -in azure.pem
7
8+It'll prompt you for a password. For our purposes, just leave it blank.
9+
10 Note the use of the ssleay.cnf - it just contains some crappy defaults so you
11-don't get prompted for anything. You can leave it out if you want, but you
12-need to enter certificate data like country, organisation etc.
13+don't get prompted for certificate data. You can leave it out if you want, but
14+then you'll need to enter country, organisation etc.
15+
16+Azure wants you to upload a .cer file. There's probably a more direct way of
17+doing this, but you can extract a .crt file from the .pfx:
18+
19+ openssl pkcs12 -in azure.pfx -out azure.crt -nokeys -clcerts
20+
21+...and then convert that .crt file to a .cer file:
22+
23+ openssl x509 -inform pem -in azure.crt -outform der -out azure.cer
24+
25+You can now upload azure.cer to Azure as a management certificate.

Subscribers

People subscribed via source and target branches