Currently on a VirtualBox VM hosted on a Mac OSX Lion:
$ uname -prsv
OpenBSD 5.0 GENERIC#43 Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
("GenuineIntel" 686-class)
$
Creating a PEM encoded, self signed X.509 cert as follows:
$ openssl genrsa -out iam.key 1024
$ openssl req -new -key iam.key -out iam.csr
$ openssl x509 -req -in iam.csr -signkey iam.key -out iam.pem
When trying to upload this cert (iam.pem) for use with Amazon Web
Services, I get a malformed certificate error.
The same sequence of steps when run on Darwin (Darwin 11.0.0 Darwin
Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011;
root:xnu-1699.22.73~1/RELEASE_X86_64 i386) or FreeBSD (FreeBSD
8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:07:27 UTC 2011
[email protected]:/usr/obj/usr/src/sys/GENERIC
i386) gives me a working cert that does not error out when trying to
use it with AWS.
-- varoun