NNMi Public Key installation (787 Views)
Reply
Frequent Advisor
Abhishek_
Posts: 94
Registered: ‎11-10-2011
Message 1 of 6 (787 Views)

NNMi Public Key installation

Hi Experts,

 

What issues I can face if the HP public key is not installed before NNMi installation in Linux environment.

 

Is it possible to install the HP public key after the nnmi installation, if yes please suggest the steps.

 

will this also effect the NPS iSPI installation.

 

Please advice

Honored Contributor
LindsayHill
Posts: 743
Registered: ‎11-16-2011
Message 2 of 6 (771 Views)

Re: NNMi Public Key installation

The installation won't be able to proceed. 

 

The key is used for verifying signatures on the RPMS. It's possible to bypass key checking for regular RPMs, but in this case the NNMi installer will complain about it.

 

But it's only a 2-minute job to install the key, so just install it and don't worry about it.

CCIE 36708 | @northlandboy | lkhill.com
Frequent Advisor
Abhishek_
Posts: 94
Registered: ‎11-10-2011
Message 3 of 6 (755 Views)

Re: NNMi Public Key installation

Hi Lindsay,

 

Thanks for the info.

 

 

While I am trying to install the HP Public key, I am getting an error as below

 

error: hpPublicKey.pub: Key 1 not an armored public key.

 

I have copied the Publickey from the below link, not done any changes but still getting this error.

 

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPLinuxCodeSigning

 

Please help.

Honored Contributor
LindsayHill
Posts: 743
Registered: ‎11-16-2011
Message 4 of 6 (751 Views)

Re: NNMi Public Key installation

Sounds like something went wrong with copying/pasting the key.

 

Can you first try again, copying the key from that web page to a new file, and importing it?

 

If that doesn't work, ssh to your server, run "cat hpPublicKey.pub", and paste the entire output of that SSH session to here.

CCIE 36708 | @northlandboy | lkhill.com
Advisor
pvijay1
Posts: 35
Registered: ‎11-25-2013
Message 5 of 6 (598 Views)

Re: NNMi Public Key installation

Hi Experts,

 

I am getting the same error. Below is the Cat result. Please help me to resolve the same on priority.

 

[root@AHDPDCEMSNWMON NNM_Dumps]# rpm --import hpPublicKey.pub error: hpPublicKey.pub: key 1 not an armored public key. [root@AHDPDCEMSNWMON NNM_Dumps]# cat hpPublicKey.pub -----BEGIN PGP PUBLIC KEY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JjziXVvVC1a8+inTxPZkVpAvD0A+/LNlkP7TtAdaVOJqv3+a3 ybMQL851bRTFyt+H0XGHhzhhtuu9+DyfAAMFCADRWGxIfniVG7O4wtwLD3sWzR/W LmFlJYu4s9rSDgn3NDjigQzZoVtbuv3Z9IZxBMoYa50MuybuVDp55z/wmxvYoW2G 25kOFDKx/UmkKkUBLdokb5V1p9j5SJorGBSfsNAHflhmBhyuMP4CDISbBUSN7oO1 Oj41jNxpqhy+8ayygSVcTNwMe909J/HdC//xFANLDhjKPf3ZAulWNhOvjTlpF46B yt1l8ZNinIeE7CFL7H+LlMl2Ml6wsOkrxsSauBis6nER4sYVqrMdzpUU2Sr2hj6Q sJ+9TS+IURcnxL/M851KCwLhwZKdphQjT3mXXsoCx/l3rI6cxpwYgjiKiZhOiE8E GBECAA8FAkIxWqUCGwwFCRLMAwAACgkQUnvFOiaJuIenewCdHcEvMxBYprqRjKUw 04EypyFtZTgAn0wds0nbpd2+VZ5WHbVRfU4y5Y5Y =+cX+ -----END PGP PUBLIC KEY BLOCK-----[root@AHDPDCEMSNWMON NNM_Dumps]# [root@AHDPDCEMSNWMON NNM_Dumps]# error: hpPublicKey.pub: key 1 not an armored public key.

 

 

 

Regards,


Priyanka

Visitor
gdsantero
Posts: 3
Registered: ‎03-19-2013
Message 6 of 6 (468 Views)

Re: NNMi Public Key installation

In the key files ensure there a blank line after -----END PGP PUBLIC KEY BLOCK-----

 

That solved the problem for me.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.