I have an interesting problem.

I use python with M2Crypto to make openssl calls. I am using M2Crypto
0.18.0, openssl 0.9.8k, and python 2.6. I am able to generate a private
key and encode it in pem format. The only problem is that IPSEC
(openswan) is unable to use the file. If I run the following command:

openssl rsa -in in.key -out out.key

where in.key is the file originally generated with python.

Then the out.key file will work fine. The out.key file will be slightly
smaller in size and the actual characters in the encoding will be
different. Openssl is able to work with both file just fine.

Any ideas what could be going on?

Thanks,

-- 
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to