summaryrefslogtreecommitdiffstats
path: root/ipapython/dogtag.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-02-22 23:20:14 -0500
committerMartin Kosek <mkosek@redhat.com>2012-02-23 11:26:06 +0100
commitb9e368553421e4ca7052ffbd4ce01926e8519196 (patch)
treed4d4449135a44bd5136166ece81d431c44c2cd9f /ipapython/dogtag.py
parent960baaebf4a1305a38f7cec099f51607e2427d24 (diff)
downloadfreeipa-b9e368553421e4ca7052ffbd4ce01926e8519196.tar.gz
freeipa-b9e368553421e4ca7052ffbd4ce01926e8519196.tar.xz
freeipa-b9e368553421e4ca7052ffbd4ce01926e8519196.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
Diffstat (limited to 'ipapython/dogtag.py')
-rw-r--r--ipapython/dogtag.py4
1 files changed, 2 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: