You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Aaron Cody <ac...@hexiscyber.com> on 2014/12/17 22:42:12 UTC

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

Re: setting up HTTPS with Ambari

Posted by Aaron Cody <ac...@hexiscyber.com>.
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 <ac...@hexiscyber.com>>
Reply-To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
Date: Wednesday, December 17, 2014 at 1:42 PM
To: "user@ambari.apache.org<ma...@ambari.apache.org>" <us...@ambari.apache.org>>
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