ended up generating a PEM with this little script:

fqdn=`hostname -f`
rm -f $fqdn*
openssl req -x509 -nodes -newkey rsa:2048 -days 365 -keyout $fqdn.key -out 
$fqdn.crt -subj "/CN=$fqdn/O=YourCompany./C=US"
openssl x509 -in $fqdn.crt -outform pem -out $fqdn.pem

just in case others run into the same issue...

From: Aaron Cody <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, December 17, 2014 at 1:42 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: setting up HTTPS with Ambari

hello
I’m following the instructions found here:

http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.3.3/bk_using_Ambari_book/content/ambari-add-https-Web.html

but I keep getting the error pasted below - are these instructions up to 
date/correct?
TIA


139829224474440:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong 
tag:tasn_dec.c:1320:
139829224474440:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested 
asn1 error:tasn_dec.c:382:Type=X509

Reply via email to