wpa_supplicant and blobs

Bryan Kadzban bryan at kadzban.is-a-geek.net
Thu Sep 7 12:45:01 EDT 2006


On Thu, Sep 07, 2006 at 03:41:57PM +0200, Branko Subasic wrote:
> I have made some changes in tls_openssl.c to allow certificate and
> private key blobs in PEM format as well. These changes solve my
> problem. 

Would it be easier to just convert the cert and private key to DER
format on another box (that has the openssl binary)?

# For the cert:
openssl x509 -in certfile.pem -inform PEM -outform DER -out certfile.der

There should be some other openssl mini-utility that does the same
conversion for private keys, but I can't find it.  The conversion itself
should be as simple as base64-decoding the data after the first blank
line in the PEM file and before the -----END RSA PRIVATE KEY-----
trailer.

Then use the certfile.der and decoded-base64-data files as blobs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20060907/3c131c63/attachment.pgp 


More information about the HostAP mailing list