Certificate rejected message seen while trying to run iprintman commands

  • 7013000
  • 06-Aug-2013
  • 29-Aug-2013

Environment

Novell iPrint for Linux

Situation

The following certificate rejection message is presented after authenticating with iprintman (excerpt only)

java.io.EOFException
at java.io.DataInputStream.readInt (DataInputStream.java:375)
at com.ibm.crypto.provider.JavaKeyStore.engineLoad (Unknown Source)
........... <A few pages of additional messages>......
Certificate rejected.  Not proceeding further.

Resolution

Workaround:
  • Delete the /opt/novell/iprintmgmt/iPrintman.keystore file
  • Accept the certificate prompt (hit Y) the next time prompted after running an iprintman command.

Cause

This issue is observed when a zerobyte iPrintman.keystore file is created in /opt/novell/iprintmgmt/.  A zerobyte keystore file will exist if an iprntman command was run and the administrator answered N (no) to accept the certificate.  Subsequent attempts to run iprntman won't prompt to accept the certificate.  Instead the error above will be returned. 

Below are some example commands which will result in this zero byte keystore file scenario:

iprntman psm -i
iprntman psm create
iprntman ids create

iprntman printer create
iprntman printer delete
iprntman ids delete

Feedback service temporarily unavailable. For content questions or problems, please contact Support.