Trying to install CollabNet Subversion Client on Solaris x64, but I'm hung up with:

## Verifying signature for signer <Alexander Thomas(AT)>
pkgadd: ERROR: Signature verification failed while verifying certificate <subject=Alexander Thomas(AT), issuer=Alexander Thomas(AT)>:<self signed
certificate>.

Any way to just bypass the certificate check? None of the options listed in the man page seemed appropriate.

link|improve this question

feedback

3 Answers

up vote 3 down vote accepted

Try setting 'authentication=nocheck' in your admin file (/var/sadm/install/admin/default by default).

If this doesn't work, there does not appear to be a documented way to force a package installation without a trusted CA in the keystore.

link|improve this answer
2  
authentication=nocheck should work, see docs.sun.com/app/docs/doc/817-0716/6mggehbp3?a=view – radius Aug 19 '09 at 19:12
feedback

Download the cert next to the download link, then run pkgadm addcert -ty certificate.pem it'll work, it's in the FAQ. Caught me too :)

link|improve this answer
feedback

Something else to keep in mind when installing CollabNet Subversion on Solaris: sudo is not installed by default. To make the installer work on my system, I had to hack the "bin/csvn" script as follows (replace sudo with 'su - root -c '<cmd>'

installdaemon() {
if [ `id | sed 's/^uid=//;s/(.*$//'` = "0" ] ; then
    echo "Cannot be root to perform this action."
    exit 1
else
    if [ "$DIST_OS" = "solaris" ] ; then
        echo "Detected Solaris:"
        if [ -f /etc/init.d/$APP_NAME ] ; then
            echo " The $APP_LONG_NAME daemon is already installed."
            exit 1
        else
            echo " Installing the $APP_LONG_NAME daemon.."
            # NOTE THE FOLLOWING SUBSTITUTION OF 'sudo' with 'su - root -c "<cmd>"'
            su - root -c "ln -s $REALPATH /etc/init.d/$APP_NAME"
            su - root -c "ln -s /etc/init.d/$APP_NAME /etc/rc3.d/K20$APP_NAME"
            su - root -c "ln -s /etc/init.d/$APP_NAME /etc/rc3.d/S20$APP_NAME"
        fi
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.