Hi,

I also stored the keystore with p12 extension using keytool.
I get the following exception in the command prompt.

D:\tools\jakarta-jmeter-1.8.1\bin>jmeter.bat
keyStore is : D:\javahome\jdk1.4\lib\security\cacerts.p12
keyStore type is : pkcs12
init keystore
default context init failed: java.io.IOException: DerInputStream.getLength():
le
ngthTag=109, too big.
Thread Group-1, SEND SSL v3.1 ALERT:  warning, description = close_notify
Thread Group-1, WRITE:  SSL v3.1 Alert, length = 2
Thread Group-1, SEND SSL v3.1 ALERT:  warning, description = close_notify
Thread Group-1, WRITE:  SSL v3.1 Alert, length = 2


Any info will be of great help.

Thanks
Sriram

"Sriram Anandraj .S" wrote:

> Hi Tarang,
>
> I ftped the server.crt file from solaris to my windows
> machine(d:\javahome\jdk1.4\bin) where JMeter is installed.
> I did the following
> D:\javahome\jdk1.4\bin>keytool.exe -import -file server.crt -keystore
> ..\lib\security\cacerts
>
> Executing the above asked for password, I gave the application login
> passoword.
> Keystore cacerts got created in d:\javahome\jdk1.4\lib\security folder.
>
> Now I started JMeter in the command prompt. Using SSL Manger link in the
> options menu I selected 'cacerts' file from
> the security folder.
>
> When running the test which basically sends https login request to the
> server. I get the following message in the command promt.
> I don't see any response to the request in 'View Results in table'.
>
> ================================================================
> D:\tools\jakarta-jmeter-1.8.1\bin>jmeter.bat
> keyStore is : D:\javahome\jdk1.4\lib\security\cacerts
> keyStore type is : jks
> init keystore
> init keymanager of type SunX509
> trustStore is: d:\javahome\jdk1.4\lib\security\cacerts
> trustStore type is : jks
> init truststore
> adding as trusted cert: [
> [
>   Version: V3
>   Subject: [EMAIL PROTECTED], CN=ssr-ultra, OU=aa, O=aa, L=aa, S
> T=aa, C=aa
>   Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
>
>   Key:  [EMAIL PROTECTED]
>   Validity: [From: Thu May 29 08:35:08 GMT+05:30 2003,
>                To: Fri May 28 08:35:08 GMT+05:30 2004]
>   Issuer: [EMAIL PROTECTED], CN=ssr-ultra, OU=aa, O=aa, L=aa, ST
> =aa, C=aa
>   SerialNumber: [  0  ]
>
> ]
>   Algorithm: [MD5withRSA]
>   Signature:
> 0000: 77 88 E4 F5 2B 98 BA FA   11 F9 13 2E E8 FF D9 73  w...+..........s
>
> 0010: 42 8C 0A D0 81 24 B0 73   F1 DA 21 F5 7F 72 4F B0  B....$.s..!..rO.
>
> 0020: E3 C9 50 2F 23 02 A6 C5   C6 AF 79 CE 4D 40 A9 D9  ..P/[EMAIL PROTECTED]
>
> 0030: DF 29 2E 80 5E 3E D4 8E   A1 AB 21 E0 22 9C A4 A1  .)..^>....!."...
>
> 0040: CB F0 D8 8C 40 E3 9B 7A   31 F5 2D 25 C3 41 B3 51  [EMAIL PROTECTED]
>
> 0050: A7 05 B9 04 83 0D 8D D3   EA 51 4C B4 11 3E 15 BD  .........QL..>..
>
> 0060: 77 B2 36 DC C6 88 33 4F   82 92 03 06 CF 2D 04 D5  w.6...3O.....-..
>
> 0070: 22 70 6B E2 A4 26 D5 97   7F 58 28 FA 5A 45 65 10  "pk..&...X(.ZEe.
>
> ]
> init context
> trigger seeding of SecureRandom
> done seeding SecureRandom
> Thread Group-1, SEND SSL v3.1 ALERT:  warning, description = close_notify
>
> Thread Group-1, WRITE:  SSL v3.1 Alert, length = 2
> Thread Group-1, SEND SSL v3.1 ALERT:  warning, description = close_notify
>
> Thread Group-1, WRITE:  SSL v3.1 Alert, length = 2
>
> ======================================================================
>
> NOTE:  In JMeter.properties file I uncommented the following line inorder
> to get the SSL Manager' link in options menu.
> ssl.provider=com.sun.net.ssl.internal.ssl.Provider.
>
> Am I missing something for testing HTTPS requests. Any Info will be of
> great help.
>
> Thanks
> Sriram
>
> Tarang Patel wrote:
>
> > I am running 1.8.1, and it does have the SSL manager
> > in the option menu.
> >
> > Check your jmeter.properties file, as there is
> > not_in_menu key that controls what appears in the
> > menu, and you may have SSL_Manager scoped out.
> >
> > You need to store your server cert into a keystore
> > file, use JDK keystore utility, comes with JDK. Then
> > in Jmeter use the Options->SSL Manager to point to the
> > keystore file. It will ask for a password, the
> > keystore password.
> >
> > Then you are set to go.
> >
> >   Tarang
> >
> > --- "Sriram Anandraj .S" <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I am using 1.8.1 version, I am not able to see the
> > > SSL Manager in options
> > > menu bar. Which version supports SSL ?
> > > Require authentication through JMeter for subsequent
> > > https requests, what
> > > need to be done. Any input will be of great help.
> > >
> > > Thanks
> > > Sriram
> > >
> > >
> > > Tarang Patel wrote:
> > >
> > > > Yes, but my experience indicates that it isn't to
> > > be
> > > > relied on for any load test that you might do.
> > > >
> > > >
> > > >
> > > > --- "Sriram Anandraj .S" <[EMAIL PROTECTED]>
> > > wrote:
> > > > > Hi,
> > > > >
> > > > > Does JMeter support https ?
> > > > >
> > > > > Thanks
> > > > > Sriram
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > >
> > > >
> > > > __________________________________
> > > > Do you Yahoo!?
> > > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > > http://search.yahoo.com
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> > http://calendar.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to