VMware Horizon Community
cmuench
Enthusiast
Enthusiast

SSL cert from Digicert not working

I have created an SSL cert from Digicert using the instructions in the vdi guide.

However after importing the certs I get the following error.

[error]

Couldn't create SSL socket factory com.vmware.vdi.ice.server.m.a(SourceFile:465)

java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.

                at sun.security.util.DerInputStream.getLength(DerInputStream.java:544)

                at sun.security.util.DerValue.init(DerValue.java:347)

                at sun.security.util.DerValue.<init>(DerValue.java:303)

                at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1200)

                at java.security.KeyStore.load(KeyStore.java:1185)

                at com.vmware.vdi.ice.server.m.a(SourceFile:442)

                at com.vmware.vdi.ice.server.m.b(SourceFile:166)

                at com.vmware.vdi.ice.server.e.a(SourceFile:115)

                at com.vmware.vdi.ice.server.Ice.startServer(SourceFile:889)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)

                at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)

                at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)

                at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)

                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

                at com.vmware.vdi.ice.server.JMXServer.main(SourceFile:189)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at net.propero.workspace.windowsinfrastructure.tunnelservice.TunnelService.run(SourceFile:42)

                at java.lang.Thread.run(Thread.java:619)

[/error]

and also this is the output from a keytool -list

Keystore type: JKS

Keystore provider: SUN

Your keystore contains 1 entry

trustcacerts, Dec 1, 2011, trustedCertEntry,

0 Kudos
3 Replies
npeter
Expert
Expert

Hi,

Have you created locked.properties file and added the entry storetype=jks

Regards

-nObLe
0 Kudos
cmuench
Enthusiast
Enthusiast

yes I have done that.

As you can see in the log file it can open it just fine.

0 Kudos
synlau21
Contributor
Contributor

did you find the problem ?

0 Kudos