Description of problem: An extraneous "verify\n" prefix seems to have snuck into a stdout message when attempting to import an invalid certificate. Version-Release number of selected component (if applicable): [root@jsefler-rhel59 ~]# subscription-manager version registered to: 0.7.6-1 server type: subscription management service subscription-manager: 1.0.13-1.git.45.5cb55c8.el5 python-rhsm: 1.0.5-1.git.1.1ce0910.el5 How reproducible: sometimes Steps to Reproduce: [root@jsefler-rhel59 ~]# subscription-manager import --certificate /etc/pki/entitlement/969118734171102355-key.pem verify 969118734171102355-key.pem is not a valid certificate file. Please use a valid certificate. [root@jsefler-rhel59 ~]# Actual Results: verify <============ UNEXPECTED 969118734171102355-key.pem is not a valid certificate file. Please use a valid certificate. Expected Results: 969118734171102355-key.pem is not a valid certificate file. Please use a valid certificate. Additional info:
fixed in master at 18c5fde261c4b1da1fd8e0cdb0966f2357dbb67a
Verifying Version.... [root@jsefler-rhel59 ~]# subscription-manager version registered to: Unknown server type: subscription management service subscription-manager: 1.0.14-1.el5 [root@jsefler-rhel59 ~]# subscription-manager import --certificate /etc/pki/entitlement/5757936486111047833.pem 5757936486111047833.pem is not a valid certificate file. Please use a valid certificate. [root@jsefler-rhel59 ~]# [root@jsefler-rhel59 ~]# subscription-manager import --certificate /etc/pki/entitlement/5757936486111047833-key.pem 5757936486111047833-key.pem is not a valid certificate file. Please use a valid certificate. [root@jsefler-rhel59 ~]# [root@jsefler-rhel59 ~]# subscription-manager import --certificate /etc/pki/consumer/cert.pem cert.pem is not a valid certificate file. Please use a valid certificate. [root@jsefler-rhel59 ~]# [root@jsefler-rhel59 ~]# subscription-manager import --certificate /etc/pki/consumer/key.pem key.pem is not a valid certificate file. Please use a valid certificate. [root@jsefler-rhel59 ~]# ^^^ VERIFIED: The extraneous "verify" string was not printed during any of the negative certificate import tests above.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0033.html