On Tue, Dec 20, 2016 at 9:52 PM, Roy Golan <[email protected]> wrote:
>
>
> On 20 December 2016 at 16:59, Roy Golan <[email protected]> wrote:
>>
>> engine-setup on fedora 25 fails with m2crypto error. It complains that the
>> cert is in not in PEM format:
>>
>> File "/usr/lib64/python2.7/site-packages/M2Crypto/X509.py", line 786, in
>> load_cert
>>     return load_cert_bio(bio)
>>   File "/usr/lib64/python2.7/site-packages/M2Crypto/X509.py", line 817, in
>> load_cert_bio
>>     raise X509Error(Err.get_error())
>> X509Error: 140710387418880:error:0906D06C:PEM routines:PEM_read_bio:no
>> start line:pem_lib.c:707:Expecting: CERTIFICATE
>>
>> To fix this:
>> ```sudo pip install m2crypto==0.24```
>
>
> Didn't have the time to look deeper, just needed this to work.

I've hit the issue as well, the problem is, that certificate in
/etc/pki/ovirt-engine/ca.pem is in text form.

>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to