Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@cephc ovirt-scripts]# python get_vm_names
- Traceback (most recent call last):
- File "get_vm_names", line 16, in <module>
- log=logging.getLogger(),
- File "/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 307, in __init__
- raise Error('The CA file \'%s\' doesn\'t exist' % ca_file)
- ovirtsdk4.Error: The CA file ' /etc/pki/tls/cert.pem' doesn't exist
- [root@cephc ovirt-scripts]# cat example.log
- DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
- DEBUG:root:* Trying 10.204.207.171...
- DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
- DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
- DEBUG:root:* CAfile: /etc/pki/tls/certs/ca-bundle.crt
- DEBUG:root:* CApath: none
- DEBUG:root:* Server certificate:
- DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
- DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
- DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
- DEBUG:root:* common name: pscloud.bnglab.psecure.net
- DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
- DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
- DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
- DEBUG:root:* Closing connection 0
- DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
- DEBUG:root:* Trying 10.204.207.171...
- DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
- DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
- DEBUG:root:* CAfile: /etc/pki/tls/certs/ca-bundle.crt
- DEBUG:root:* CApath: none
- DEBUG:root:* Server certificate:
- DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
- DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
- DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
- DEBUG:root:* common name: pscloud.bnglab.psecure.net
- DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
- DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
- DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
- DEBUG:root:* Closing connection 0
- DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
- DEBUG:root:* Trying 10.204.207.171...
- DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
- DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
- DEBUG:root:* CAfile: /etc/pki/tls/cert.pem
- DEBUG:root:* CApath: none
- DEBUG:root:* Server certificate:
- DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
- DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
- DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
- DEBUG:root:* common name: pscloud.bnglab.psecure.net
- DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
- DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
- DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
- DEBUG:root:* Closing connection 0
- DEBUG:root:* About to connect() to pscloud.bnglab.psecure.net port 443 (#0)
- DEBUG:root:* Trying 10.204.207.171...
- DEBUG:root:* Connected to pscloud.bnglab.psecure.net (10.204.207.171) port 443 (#0)
- DEBUG:root:* Initializing NSS with certpath: sql:/etc/pki/nssdb
- DEBUG:root:* CAfile: /etc/pki/tls/cert.pem
- DEBUG:root:* CApath: none
- DEBUG:root:* Server certificate:
- DEBUG:root:* subject: CN=pscloud.bnglab.psecure.net,O=bnglab.psecure.net,C=US
- DEBUG:root:* start date: Nov 01 06:32:21 2015 GMT
- DEBUG:root:* expire date: Oct 06 06:32:21 2020 GMT
- DEBUG:root:* common name: pscloud.bnglab.psecure.net
- DEBUG:root:* issuer: CN=pscloud.bnglab.psecure.net.90881,O=bnglab.psecure.net,C=US
- DEBUG:root:* NSS error -8172 (SEC_ERROR_UNTRUSTED_ISSUER)
- DEBUG:root:* Peer's certificate issuer has been marked as not trusted by the user.
- DEBUG:root:* Closing connection 0
Add Comment
Please, Sign In to add comment