Package up2date_client :: Module rhnregGui :: Class ProvideCertificatePage
[hide private]
[frames] | no frames]

Class ProvideCertificatePage

source code

Instance Methods [hide private]
 
__init__(self) source code
 
provideCertificatePageVbox(self) source code
 
setUrlInWidget(self)
sets the security cert label's server url at runtime
source code
 
provideCertificatePageApply(self)
If the 'I have a cert' radio button is selected, this function will copy the cert to /usr/share/rhn.
source code
 
_provideCertificatePageApply(self)
Does what the comment for provideCertificatePageApply says, but might raise various exceptions.
source code
Method Details [hide private]

provideCertificatePageApply(self)

source code 
If the 'I have a cert' radio button is selected, this function will
copy the cert to /usr/share/rhn. It will name it
RHN-ORG-TRUSTED-SSL-CERT. It will
change the owner to root and the perms to 644. If a file with
that name already exists it will add a '.save<lowest available integer>' to
the end of the old file's name. It will update the config file to point
to the new cert.
Returns:
    0- cert was installed
    1- the user doesn't want to provide a cert right now
    2- an error occurred and the user was notified
    3- the cert was installed ok, but the server doesn't support needed
       calls
Doesn't raise any exceptions.