You are here: Home support WiKID Documentation Center Troubleshooting FAQ Provider Class error

Provider Class error

When I try to run setup, I get: Provider fully qualified class name: keytool error: java.security.KeyStoreException: jks

« Back to Table of Contents

Typically, this means that for some reason, the java.security files in the WiKID packages did not get copied to your java location. 

Run:

# locate java.security

You will see one in /opt/WiKID/conf/templates/java.security and one or more in your java directories.  Copy the one from the WiKID directory to the one in your working java directory.   BouncyCastle needs to be set as the second provider as in the WiKID copy:

security.provider.1=sun.security.provider.Sun
security.provider.6=com.sun.net.ssl.internal.ssl.Provider
security.provider.3=com.sun.rsajca.Provider
security.provider.4=com.sun.crypto.provider.SunJCE
security.provider.5=sun.security.jgss.SunProvider
security.provider.2=org.bouncycastle.jce.provider.BouncyCastleProvider

 

comments powered by Disqus