Re: [Spacewalk-devel] Koji problems

2008-10-31 Thread Michael Mraka
Jan Pazdziora wrote:
%  http://koji.rhndev.redhat.com/ don't exists. After I added exception for
%  test02-vmx.rhndev.redhat.com error message changed to
%  
%Secure Connection Failed
%  
%An error occurred during a connection to test02-vmx.rhndev.redhat.com.
%SSL peer was unable to negotiate an acceptable set of security parameters.
%(Error code: ssl_error_handshake_failure_alert)
%  
%  Any hints?
% 
% You should import your client certificate to your browser.

Selecting private certificate for koji in Firefox:
 Edit - Preferences - Advanced - Encryption - View Certificates
- Your Certificates - Import

  Failed to decode the file.  Either it is not in PKCS #12 format, has been
  corrupted, or the password you entered was incorrect.

I entered empty password (no password was given to me).

--
Michael Mráka
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Koji problems

2008-10-31 Thread Michael Mraka
Jan Pazdziora wrote:
% On Fri, Oct 31, 2008 at 03:12:51PM +0100, Michael Mraka wrote:
%  % 
%  % You should import your client certificate to your browser.
%  
%  Selecting private certificate for koji in Firefox:
%   Edit - Preferences - Advanced - Encryption - View Certificates
%  - Your Certificates - Import
%  
%Failed to decode the file.  Either it is not in PKCS #12 format, has been
%corrupted, or the password you entered was incorrect.
%  
%  I entered empty password (no password was given to me).
% 
% Try
% 
%   openssl pkcs12 -export -out cert.pkcs12 -in the_pem_file.pem
% 
% and import that cert.pkcs12 file.

Thanks Jan,
now I can see koji login page. Unfortunately it says

Mod_python error: PythonHandler mod_python.publisher

Traceback (most recent call last):

  File /usr/lib64/python2.4/site-packages/mod_python/apache.py, line 299,
in HandlerDispatch
result = object(req)

  File /usr/lib64/python2.4/site-packages/mod_python/publisher.py, line
213, in handler
published = publish_object(req, object)

  File /usr/lib64/python2.4/site-packages/mod_python/publisher.py, line
412, in publish_object
return publish_object(req,util.apply_fs_data(object, req.form, req=req))

  File /usr/lib64/python2.4/site-packages/mod_python/util.py, line 439, in
apply_fs_data
return object(**args)

  File /usr/share/koji-web/scripts/index.py, line 183, in login
_redirectBack(req, page, forceSSL=True)

  File /usr/share/koji-web/scripts/index.py, line 134, in _redirectBack
page = _getBaseURL(req) + '/' + page

  File /usr/share/koji-web/scripts/index.py, line 117, in _getBaseURL
return req.construct_url(base)

AttributeError: 'mp_request' object has no attribute 'construct_url'


--
Michael Mráka
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Koji problems

2008-10-31 Thread Jan Pazdziora
On Fri, Oct 31, 2008 at 03:32:46PM +0100, Michael Mraka wrote:
 Jan Pazdziora wrote:
 % On Fri, Oct 31, 2008 at 03:12:51PM +0100, Michael Mraka wrote:
 %  % 
 %  % You should import your client certificate to your browser.
 %  
 %  Selecting private certificate for koji in Firefox:
 %   Edit - Preferences - Advanced - Encryption - View Certificates
 %  - Your Certificates - Import
 %  
 %Failed to decode the file.  Either it is not in PKCS #12 format, has 
 been
 %corrupted, or the password you entered was incorrect.
 %  
 %  I entered empty password (no password was given to me).
 % 
 % Try
 % 
 % openssl pkcs12 -export -out cert.pkcs12 -in the_pem_file.pem
 % 
 % and import that cert.pkcs12 file.
 
 Thanks Jan,
 now I can see koji login page. Unfortunately it says
 
 Mod_python error: PythonHandler mod_python.publisher
 
 Traceback (most recent call last):
 
   File /usr/lib64/python2.4/site-packages/mod_python/apache.py, line 299,
 in HandlerDispatch
 result = object(req)
 
   File /usr/lib64/python2.4/site-packages/mod_python/publisher.py, line
 213, in handler
 published = publish_object(req, object)
 
   File /usr/lib64/python2.4/site-packages/mod_python/publisher.py, line
 412, in publish_object
 return publish_object(req,util.apply_fs_data(object, req.form, req=req))
 
   File /usr/lib64/python2.4/site-packages/mod_python/util.py, line 439, in
 apply_fs_data
 return object(**args)
 
   File /usr/share/koji-web/scripts/index.py, line 183, in login
 _redirectBack(req, page, forceSSL=True)
 
   File /usr/share/koji-web/scripts/index.py, line 134, in _redirectBack
 page = _getBaseURL(req) + '/' + page
 
   File /usr/share/koji-web/scripts/index.py, line 117, in _getBaseURL
 return req.construct_url(base)
 
 AttributeError: 'mp_request' object has no attribute 'construct_url'

Try not going to the /koji/login page, just go to

https://test02-vmx.rhndev.redhat.com/koji/

and you should see your login name already in the top right corner.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel