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.
|