diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-02-22 23:20:14 -0500 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-02-23 11:26:22 +0100 |
commit | 9314ff299fb7e661fba3ff8d6f23fb40a410a9d6 (patch) | |
tree | e57865d97fe074a015e1a52f9f44d1204d2557d8 | |
parent | 3961aa8603d5c56719ad9c84607b9be278ddabe2 (diff) | |
download | freeipa.git-9314ff299fb7e661fba3ff8d6f23fb40a410a9d6.tar.gz freeipa.git-9314ff299fb7e661fba3ff8d6f23fb40a410a9d6.tar.xz freeipa.git-9314ff299fb7e661fba3ff8d6f23fb40a410a9d6.zip |
Add the -v option to sslget to provide more verbose errors
I noticed a couple of bad references in ipapython/dogtag.py and
fixed those as well. We used to call sslget for all our SSL client
needs before python-nss was written.
https://fedorahosted.org/freeipa/ticket/2391
-rw-r--r-- | ipapython/dogtag.py | 4 | ||||
-rw-r--r-- | ipaserver/install/cainstance.py | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/ipapython/dogtag.py b/ipapython/dogtag.py index 20f2643b..df569c44 100644 --- a/ipapython/dogtag.py +++ b/ipapython/dogtag.py @@ -74,8 +74,8 @@ def https_request(host, port, url, secdir, password, nickname, **kw): host = host.encode('utf-8') uri = 'https://%s%s' % (ipautil.format_netloc(host, port), url) post = urlencode(kw) - root_logger.info('sslget %r', uri) - root_logger.debug('sslget post %r', post) + root_logger.debug('https_request %r', uri) + root_logger.debug('https_request post %r', post) request_headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"} try: diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index 692a53d4..d2c8d057 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -746,6 +746,7 @@ class CAInstance(service.Service): # mod_nss. args = [ '/usr/bin/sslget', + '-v', '-n', 'ipa-ca-agent', '-p', self.admin_password, '-d', self.ca_agent_db, @@ -765,6 +766,7 @@ class CAInstance(service.Service): # Now issue the RA certificate. args = [ '/usr/bin/sslget', + '-v', '-n', 'ipa-ca-agent', '-p', self.admin_password, '-d', self.ca_agent_db, |