Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 6 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.

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

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 :)

share|improve this answer

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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