This had nothing to do with LDAP or anything, just trying to change the cert to 
a 3rd party signed one. Until I did those two steps I was unable to sign into 
the portal, as I just had a java error every time, it had nothing to do with 
LDAP.   For me, that SSL document is really confusing because it's not clear 
how some parts of the certs require full chain, some parts are just the actual 
3rd party cert, and some parts it seems like it says "CA" cert, does it mean 
the root cert?  or does it just mean the 3rd party cert you're installing?  
does it require a p12 file?  the article says "we suggest storing .p12 here" 
but it doesn't say "you must put your .p12 here".  

Right now it works, sort of.  I'm able to sign into portal, but i'm unable to 
connect to any of the VM consoles.  I don't know where to go from here, the 
article says nothing about SPICE, is spice also supposed to work after the cert 
change?  or is that part of another article that we can't see?  Is a cert 
placed wrong?  When I try to connect to a console, it errors out with "could 
not connect to server".  The log on the VM host says:

(process:31241): Spice-WARNING **: 14:04:43.782: 
reds-stream.c:469:reds_stream_ssl_accept: SSL_accept failed, error=1
139940713029056:error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown 
ca:s3_pkt.c:1493:SSL alert number 48

in the engine server.log:
2019-05-04 20:09:55,479-04 INFO  [org.apache.commons.httpclient.HttpMethodBase] 
(EE-ManagedThreadFactory-engine-Thread-14097) Response content length is not 
known

and the .vv file from ovirt looks like this, it has a private cert, for the 
host, but the 3rd part for the host?  Is this right?  What about a proxy?  does 
that come into play?  Did i miss a cert?
 
[virt-viewer]
type=spice
host=172.16.x.x
port=5901
password=zYhIyn7/zVju
# Password is valid for 120 seconds.
delete-this-file=1
fullscreen=0
title=ADFSTwo:%d
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-attention=ctrl+alt+end
tls-port=5902
enable-smartcard=0
enable-usb-autoshare=1
usb-filter=-1,-1,-1,-1,0
tls-ciphers=DEFAULT
host-subject=<private cert CA name>
ca=-----BEGIN 
CERTIFICATE-----\nMIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkGA1UEBhMCQkUx\nGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2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MUfpIBvFSDJ3gyICh3WZlXi/EjJKSZp4A==\n-----END
 CERTIFICATE-----\n
secure-channels=main;inputs;cursor;playback;record;display;smartcard;usbredir
versions=rhev-win64:2.0-160;rhev-win32:2.0-160;rhel7:2.0-6;rhel6:99.0-1
newer-version-url=http://www.ovirt.org/documentation/admin-guide/virt/console-client-resources

[ovirt]
host=ovirt.wanderingmad.com:443
vm-guid=8779c8b7-18e8-49ef-aff4-d84609a519a3
sso-token=fjTGwB266hsU57uyOffllkPYG2m2wnaZnQJlUswKL3bYg9YM7rOfJ3QH-aBMibqbQsCEiV7AzPn39AWz40p_SA
admin=1

should I replace certs on the host?  
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/[email protected]/message/E6GBISUVQW2MKEKJPO65CQYW5XYHEAKB/

Reply via email to