Note: Please go to docs.rightscale.com to access the current RightScale documentation set.
Home > Clouds > Microsoft Azure > Azure FAQs > What if my .pfx content is corrupt or password protected?

What if my .pfx content is corrupt or password protected?

Table of Contents

Answer

If you received the error "Failed to create account: Data is not valid, can't create PFX certificate" when trying to upload your .pfx file during the add Azure flow, it may be corrupt or password protected.

The easiest wait to test the pfx file is to run commands shown below.

To extract the private key:

openssl.exe pkcs12 -in publicAndprivate.pfx -nocerts -out privateKey.pem

To extract the certificate:

openssl.exe pkcs12 -in publicAndprivate.pfx -clcerts -nokeys -out publicCert.pem

These two commands should succeed without prompting for a password.

You must to post a comment.
Last modified
21:36, 16 May 2013

Tags

Classifications

This page has no classifications.

Announcements

None

Glossary | 用語용어 Site Map | Site Help Community Corporate Site Get Support Dashboard Login
Doc Feedback Product Feedback Resources MultiCloud Marketplace Forums

Dashboard Status


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.