freeipa team mailing list archive
-
freeipa team
-
Mailing list archive
-
Message #00995
[Bug 1785157] Re: external (letsencrypt) certs failing to parse due to pyasn1
FreeIPA fixed this issue in https://pagure.io/freeipa/issue/7685. Will
this be back-ported to 18.04 because FreeIPA doesn't work without it.
--
You received this bug notification because you are a member of FreeIPA,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1785157
Title:
external (letsencrypt) certs failing to parse due to pyasn1
Status in pyasn1 package in Ubuntu:
New
Bug description:
attempting a clean installation of freeipa-server on bionic using
letsencrypt certs passed as arguments fails with an error similar to:
<TagSet object at 0x7fcdaff30090 tags 0:32:16> not in asn1Spec: <OctetString schema object at 0x7fcdaff30c50 tagSet <TagSet object at 0x7fcdbda4b7d0 tags 0:0:4> encoding iso-8859-1>
The ipa-server-certinstall command failed
I was able to bypass this by downgrading pyasn1 and pyasn1-modules:
rm -rf /usr/lib/python2.7/dist-packages/pyasn1
rm -rf /usr/lib/python2.7/dist-packages/pyasn1-0.4.2.egg-info/
rm -rf /usr/lib/python2.7/dist-packages/pyasn1_modules
rm -rf /usr/lib/python2.7/dist-packages/pyasn1_modules-0.2.1.egg-info
apt install python-pip
pip install pyasn1==0.2.3
pip install pyasn1-modules==0.0.9
After that, installation is able to proceed with letsencrypt
certificates passed in.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyasn1/+bug/1785157/+subscriptions
References