Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-14 Thread Christopher Schultz
Brian, On 9/13/23 23:25, Brian Wolfe wrote: The PKCS12 is the industry standard keystore format. Your mac should be creating it in that version. You should get familiar using the pkcs12. Its not difficult to set it up. keytool and openssl support pkcs12 and have for some time now. Its possible y

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Brian Wolfe
The PKCS12 is the industry standard keystore format. Your mac should be creating it in that version. You should get familiar using the pkcs12. Its not difficult to set it up. keytool and openssl support pkcs12 and have for some time now. Its possible your older keystores are of the storetype JKS or

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread James H. H. Lampert
Java Keystores work. And I don't find them especially difficult to work with (other than new formats not being backward-compatible with older JVMs, and as one who has made a comfortable living banging out code for IBM Midrange boxes for over a quarter century, I am quite familiar with a much wo

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Christopher Schultz
Shawn and Mark, On 9/13/23 09:30, Mark Thomas wrote: On 13/09/2023 14:00, Shawn Heisey wrote: On 9/12/23 01:06, Thomas Hoffmann (Speed4Trade GmbH) wrote: I moved away from using the proprietary java keystore format. I switched to using Base64 PEM format. This is usually also the format you ge

AW: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Shawn Heisey > Gesendet: Mittwoch, 13. September 2023 15:00 > An: users@tomcat.apache.org > Betreff: Re: AW: Solution to "Invalid keystore format" (cross-posted to > Tomcat Users List at Apache, and Java 400 List at

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Mark Thomas
On 13/09/2023 14:00, Shawn Heisey wrote: On 9/12/23 01:06, Thomas Hoffmann (Speed4Trade GmbH) wrote: I moved away from using the proprietary java keystore format. I switched to using Base64 PEM format. This is usually also the format you get from the certificate issuer. No need to convert it in

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-13 Thread Shawn Heisey
On 9/12/23 01:06, Thomas Hoffmann (Speed4Trade GmbH) wrote: I moved away from using the proprietary java keystore format. I switched to using Base64 PEM format. This is usually also the format you get from the certificate issuer. No need to convert it into Java format any more and you can also o

Re: AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-12 Thread Michael Osipov
On 2023/09/12 07:06:52 "Thomas Hoffmann (Speed4Trade GmbH)" wrote: > Hallo James, > > > -Ursprüngliche Nachricht- > > Von: James H. H. Lampert > > Gesendet: Montag, 11. September 2023 18:31 > > An: Java 400 List ; Tomcat Users List > > >

AW: Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-12 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hallo James, > -Ursprüngliche Nachricht- > Von: James H. H. Lampert > Gesendet: Montag, 11. September 2023 18:31 > An: Java 400 List ; Tomcat Users List > > Betreff: Solution to "Invalid keystore format" (cross-posted to Tomcat Users > List at Apache

Solution to "Invalid keystore format" (cross-posted to Tomcat Users List at Apache, and Java 400 List at Midrange)

2023-09-11 Thread James H. H. Lampert
n the future. It seems that with the new keystores (generated on my Mac, initially created with Keytool, and then maintained with Keystore Explorer), they were getting: > Throwable occurred: java.io.IOException: Invalid keystore format > at com.ibm.crypto.provider.JavaKeyStore

Re: Invalid Keystore format error on Tomcat

2023-01-03 Thread Christopher Schultz
or the error? -chris From: Christopher Schultz Sent: Friday, December 30, 2022 8:39 PM To: Tomcat Users List Subject: Re: Invalid Keystore format error on Tomcat Veni, On 12/30/22 00: 47, Janardhanan, Veni wrote: > This is the output from C: > keytool -list -keystore > C: \SSL\certnew_pfx. 

RE: Invalid Keystore format error on Tomcat

2023-01-02 Thread Janardhanan, Veni
Thanks, Veni From: Christopher Schultz Sent: Friday, December 30, 2022 8:39 PM To: Tomcat Users List Subject: Re: Invalid Keystore format error on Tomcat Veni, On 12/30/22 00: 47, Janardhanan, Veni wrote: > This is the output from C:  > keytool -list -keystore > C:

Re: Invalid Keystore format error on Tomcat

2022-12-30 Thread Christopher Schultz
;) -chris *From:*Christopher Schultz *Sent:* Friday, December 30, 2022 3:47 AM *To:* Tomcat Users List ; Janardhanan, Veni *Subject:* Re: Invalid Keystore format error on Tomcat Veni, On 12/29/22 04: 30, Janardhanan, Veni wrote: > When I start Tomcat this is what I see in the logs : (this

RE: Invalid Keystore format error on Tomcat

2022-12-29 Thread Janardhanan, Veni
the email based support. Thank you, Veni From: Christopher Schultz Sent: Friday, December 30, 2022 3:47 AM To: Tomcat Users List ; Janardhanan, Veni Subject: Re: Invalid Keystore format error on Tomcat Veni, On 12/29/22 04: 30, Janardhanan, Veni wrote: > When I start Tomcat this is wha

Re: Invalid Keystore format error on Tomcat

2022-12-29 Thread Christopher Schultz
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: java.lang.IllegalArgumentException: Invalid keystore format at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:99) at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl

RE: Invalid Keystore format error on Tomcat

2022-12-29 Thread Janardhanan, Veni
: java.lang.IllegalArgumentException: Invalid keystore format at org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:99) at org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:71) at

Re: Invalid Keystore format error on Tomcat

2022-12-27 Thread Christopher Schultz
Keystore format’ error. Below is the config from server.xml. Please suggest. Am stuck at this point unable to proceed further, any hints/thoughts highly appreciated! I'm sorry, I didn't realize that this was essentially a re-post of your previous t

Re: Invalid Keystore format error on Tomcat

2022-12-27 Thread Christopher Schultz
Veni, On 12/23/22 12:16, Janardhanan, Veni wrote: I’ve a self-signed certificate installed on Tomcat 9 which works fine. This is a Crystal Server SAP BO BI 4.3 box. To make it secure I installed our CA signed certificate. After a restart I brought Tomcat up, the logs show ‘Invalid Keystore

Invalid Keystore format error on Tomcat

2022-12-23 Thread Janardhanan, Veni
Hi, I’ve a self-signed certificate installed on Tomcat 9 which works fine. This is a Crystal Server SAP BO BI 4.3 box. To make it secure I installed our CA signed certificate. After a restart I brought Tomcat up, the logs show ‘Invalid Keystore format’ error. Below is the config from

Re: NIO connector gives "Invalid keystore format"

2008-09-11 Thread Tim McCune
add the following attribute to the Connector element: > > protocol="org.apache.coyote.http11.Http11NioProtocol" > > when Tomcat (JBoss) starts up, it throws an IOException: Invalid keystore > format: > > ERROR [org.apache.coyote.http11.Http11NioProt

NIO connector gives "Invalid keystore format"

2008-09-11 Thread Tim McCune
11NioProtocol" when Tomcat (JBoss) starts up, it throws an IOException: Invalid keystore format: ERROR [org.apache.coyote.http11.Http11NioProtocol] (main) Error initializing endpoint ^[[0;37mjava.io.IOException: Invalid keystore format at sun.security.provider.JavaKeyStore.engineLoad(Ja

Re: Invalid Keystore Format Exception

2008-01-30 Thread Vamsavardhana Reddy
> >>>> > >>>> I'm trying to get SSL working real quick for some experiments, and I > >> did > >>>> this: > >>>> > >>>> $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA > >>>> &

Re: Invalid Keystore Format Exception

2008-01-30 Thread Ole Ersoy
ctor element in server.xml and filled out the keystoreFile and keystorePass attributes. Now I get this exception: Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: Invalid keystore format at sun

Re: Invalid Keystore Format Exception

2008-01-30 Thread Ole Ersoy
ctor element in server.xml and filled out the keystoreFile and keystorePass attributes. Now I get this exception: Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: Invalid keystore format at sun.security.provider.Ja

Re: Invalid Keystore Format Exception

2008-01-30 Thread Ole Ersoy
<81><8d>[EMAIL PROTECTED]<81><89>^B<81><81>[EMAIL PROTECTED]"<91>^?¨ñp¬^O^Y<8c>¾^_<8c>ty$^K^[^[Å<82>®<92>^^A<þõ^PKùÿ%*Ã*Q<98>»^D^BÉNät<9d>¦<8f>65Ïã`mK£9xjå0NÎ<84>´Æ$^B¥<93>^T^Aq^KFÈ=^T

Re: Invalid Keystore Format Exception

2008-01-30 Thread Vamsavardhana Reddy
nd > >> then I uncommented the SSL Connector element in server.xml and filled > out > >> the keystoreFile and keystorePass attributes. > >> > >> Now I get this exception: > >> > >> Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Htt

Re: Invalid Keystore Format Exception

2008-01-30 Thread Ole Ersoy
ted the SSL Connector element in server.xml and filled out the keystoreFile and keystorePass attributes. Now I get this exception: Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: Invalid keys

Re: Invalid Keystore Format Exception

2008-01-29 Thread Vamsavardhana Reddy
t; Now I get this exception: > > Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.io.IOException: Invalid keystore format >at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java > :651) >

Invalid Keystore Format Exception

2008-01-29 Thread Ole Ersoy
t the keystoreFile and keystorePass attributes. Now I get this exception: Jan 29, 2008 11:27:38 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.io.IOException: Invalid keystore format at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.jav

Re: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-22 Thread Vinny R.
Werner, After having the same problem, I discovered that by default "keytool" defaults to GNU Classpath, whereas what you want is Java's identically-named keytool. Try this: $JAVA/keytool -genkey -alias tomcat -keyalg RSA -keystore /tmp/tomcat.keystore Where $JAVA is your java install's bin di

Re: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-16 Thread Bill Barker
me with this? I can't get SSL to work on Tomcat > 5.5.25, > I am still getting the "Invalid keystore format" or "class not found" > error. Anyone response > is greatly appreciated. > > Thank you. > > Cheers, > Werner. > > - Orig

Re: Fw: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-16 Thread Filip Hanik - Dev Lists
not sure how you can use the NIO connector in Tomcat 5.5.25, it wasn't added until Tomcat 6.0 Filip Werner Schalk wrote: Hello, is anyone able to help me with this? I can't get SSL to work on Tomcat 5.5.25, I am still getting the "Invalid keystore format" or "class

Fw: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-16 Thread Werner Schalk
Hello, is anyone able to help me with this? I can't get SSL to work on Tomcat 5.5.25, I am still getting the "Invalid keystore format" or "class not found" error. Anyone response is greatly appreciated. Thank you. Cheers, Werner. - Original Message - From

Re: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-15 Thread Werner Schalk
itializing Coyote HTTP/1.1 on http-8170 01-Oct-2007 05:50:02 org.apache.coyote.http11.Http11BaseProtocol init SEVERE: Error initializing endpoint java.io.IOException: Invalid keystore format at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633) at sun.secu

Re: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-14 Thread Martin Gainty
nything missed? Martin - Original Message - From: "Werner Schalk" <[EMAIL PROTECTED]> To: "Martin Gainty" <[EMAIL PROTECTED]>; "Tomcat Users List" Sent: Sunday, October 14, 2007 6:01 AM Subject: Re: Tomcat 5.5.25, SSL and "invalid keystore format"

Re: Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-14 Thread Werner Schalk
CTED]> Sent: Sunday, October 15, 2000 1:35 AM Subject: Re: Tomcat 5.5.25, SSL and "invalid keystore format" Werner--- http://tomcat.apache.org/tomcat-5.5-doc/config/http.html configure your SSL connector to define the path to your keystore file (default is .keystore) keystoreFile=

Tomcat 5.5.25, SSL and "invalid keystore format"

2007-10-13 Thread Werner Schalk
: SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.io.IOException: Invalid keystore format at org.apache.catalina.connector.Connector.start(Connector.java:1097) at org.apache.catalina.core.StandardSer

Invalid keystore format

2005-12-26 Thread tam wei
Dear All, I encouter the following error while I establish an SSL connection to the other machine. java.net.SocketException: Default SSL context init failed: Invalid keystore format at javax.net.ssl.DefaultSSLSocketFactory.createSocket(DashoA12275) at