Hi,
I'm currently blocked by an exception while trying to access a server
using HTTPS :
javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown
Source)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown
Source)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown
Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown
Source)
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknow
n Source)
at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.connec
t(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:
424)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
se.java:514)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa
se.java:503)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
at java.lang.Thread.run(Unknown Source)
After reading the doc/etc (and googling a lot), I understood it was a
problem with SSL Manager, and that it require a pkcs12 "thing".
I'd like to know step by step how I could create such thing so that
it works (note that I tried with no success to create a key from
OpenSSL).
Internet Explorer allow me to export the certificate, but not in
pkcs12 (it's disabled, and if someone knows why?).
I also tried to use one *.crt file (DER encryption), either in
jMeter, either in javaws (and it recognized it), but nothing.
Note: I also changed the keystore :
javax.net.ssl.keyStore=C:/Documents and Settings/glhez/Application
Data/Sun/Java/Deployment/security/trusted.certs
And the keyStorePassword remains "changeit" (note that I don't know
the password that is used in the file). But it fails as the password
seems to be invalid.
Thanks for any help
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]