Ofbiz and Godaddy certificate problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ofbiz and Godaddy certificate problems

Toddnick
Hello All,
I followed the directions from the nabble archive,
http://www.nabble.com/SSL-certificate-installation-td17295499.html
 but am seeing the following error

2009-07-29 06:55:30,136 (main) [ Http11BaseProtocol.java:141:ERROR] Error
initializing endpoint
java.io.IOException: failed to decrypt safe contents entry:
javax.crypto.BadPaddingException: Given final block not properly padded
        at
com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1275)
        at java.security.KeyStore.load(KeyStore.java:1150)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:287)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
        at
org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
        at
org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
        at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:99)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:295)
        at
org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
        at
org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
        at
org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
        at
org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:209)
        at
org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
        at org.ofbiz.base.start.Start.init(Start.java:87)
        at org.ofbiz.base.start.Start.main(Start.java:396)
Caused by: javax.crypto.BadPaddingException: Given final block not properly
padded
        at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
        at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
        at com.sun.crypto.provider.SunJCE_ac.b(DashoA12275)
        at
com.sun.crypto.provider.PKCS12PBECipherCore$PBEWithSHA1AndRC2_40.engineDoFinal(DashoA12275)
        at javax.crypto.Cipher.doFinal(DashoA12275)
        at
com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1272)

Does anyone have an Idea?
Many thanks
Todd

--
Todd Burdeinei
Web Developer
Burdeinei Corp
702-259-3273 office / fax number
702-372-9920 cell
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz and Godaddy certificate problems

Adrian Crum-2

I don't use Godaddy, but I recently set up SSL successfully using the SSL Certificate Setup instructions in the Wiki - http://docs.ofbiz.org/x/j.

-Adrian

--- On Wed, 7/29/09, Todd Burdeinei <[hidden email]> wrote:

> From: Todd Burdeinei <[hidden email]>
> Subject: Ofbiz and Godaddy certificate problems
> To: [hidden email]
> Date: Wednesday, July 29, 2009, 10:04 AM
> Hello All,
> I followed the directions from the nabble archive,
> http://www.nabble.com/SSL-certificate-installation-td17295499.html
>  but am seeing the following error
>
> 2009-07-29 06:55:30,136 (main) [
> Http11BaseProtocol.java:141:ERROR] Error
> initializing endpoint
> java.io.IOException: failed to decrypt safe contents
> entry:
> javax.crypto.BadPaddingException: Given final block not
> properly padded
>         at
> com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1275)
>         at
> java.security.KeyStore.load(KeyStore.java:1150)
>         at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:287)
>         at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
>         at
> org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
>         at
> org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
>         at
> org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:99)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:295)
>         at
> org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
>         at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
>         at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
>         at
> org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:209)
>         at
> org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:190)
>         at
> org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66)
>         at
> org.ofbiz.base.start.Start.initStartLoaders(Start.java:248)
>         at
> org.ofbiz.base.start.Start.init(Start.java:87)
>         at
> org.ofbiz.base.start.Start.main(Start.java:396)
> Caused by: javax.crypto.BadPaddingException: Given final
> block not properly
> padded
>         at
> com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
>         at
> com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
>         at
> com.sun.crypto.provider.SunJCE_ac.b(DashoA12275)
>         at
> com.sun.crypto.provider.PKCS12PBECipherCore$PBEWithSHA1AndRC2_40.engineDoFinal(DashoA12275)
>         at
> javax.crypto.Cipher.doFinal(DashoA12275)
>         at
> com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1272)
>
> Does anyone have an Idea?
> Many thanks
> Todd
>
> --
> Todd Burdeinei
> Web Developer
> Burdeinei Corp
> 702-259-3273 office / fax number
> 702-372-9920 cell
> [hidden email]
>