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
=== modified file 'README'
--- README 2013-03-14 07:39:05 +0000
+++ README 2013-03-18 02:07:22 +0000
@@ -15,6 +15,19 @@
1515
16 openssl pkcs12 -export -out azure.pfx -in azure.pem16 openssl pkcs12 -export -out azure.pfx -in azure.pem
1717
18It'll prompt you for a password. For our purposes, just leave it blank.
19
18Note the use of the ssleay.cnf - it just contains some crappy defaults so you20Note the use of the ssleay.cnf - it just contains some crappy defaults so you
19don't get prompted for anything. You can leave it out if you want, but you21don't get prompted for certificate data. You can leave it out if you want, but
20need to enter certificate data like country, organisation etc.22then you'll need to enter country, organisation etc.
23
24Azure wants you to upload a .cer file. There's probably a more direct way of
25doing this, but you can extract a .crt file from the .pfx:
26
27 openssl pkcs12 -in azure.pfx -out azure.crt -nokeys -clcerts
28
29...and then convert that .crt file to a .cer file:
30
31 openssl x509 -inform pem -in azure.crt -outform der -out azure.cer
32
33You can now upload azure.cer to Azure as a management certificate.

Subscribers

People subscribed via source and target branches