We help IT Professionals succeed at work.

New podcast episode! Our very own Community Manager, Rob Jurd, gives his insight on the value of an online community. Listen Now!

x

PCKS7 and PEM

1,121 Views
Last Modified: 2012-05-05
Has anyone had any experience with a pkcs7 file? I need a PEM certificate file to upload to my load balancer for ssl. I honestly dont ' know know what a PEM file is or what a pcks7 file, but from my research on the web it seems pkcs7  encodes the pem file. Through windows I was able to export two .cer files from the pkcs 7file (I chose 64bit based encoding). Now I believe that the 2 .cer files that I exported are the PEM files that I need to upload. Does this make sense to anyone?  
Comment
Watch Question

Commented:
Which loadbalancer are you using?  Many use Linux Kernal and have openssl loaded on them.  Us can use the following command to convert the pkcs file to pem:

opensll -pkcs# -in cert.pfx -out cert.pem -passin pass:password -nodes

You can do a man on openssl to get the switches that apply for your situation.

Commented:
It might be easier to create a pkcs12 format from your IIS server and then translate the using openssl.

Author

Commented:
i'm using a serveriron 4g-ssl. the certificate is not installed on the IIS server, i thought it should be installed on the load balancer since ssl connection will terminate at the load balancer. Does the conversion of the pkcs12 to pem, extract the private key and the certificate?

Commented:
Yes it does.  You will need the pass key used during the creation on the csr, thats if one was used to create it.  

Author

Commented:
ok i'm thinking of maybe installing the certificate in IIS then export the certificate and the private key. after that install it onto the load balancer.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
thanks for the help CLoz
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.