SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    New Member
    Join Date
    Aug 2013
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Exclamation Jmeter Recording HTTPS site

    Hi,

    I am encountering an strange issue while recording a HTTPS site.
    The error code is :-
    javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificate s(Unknown Source) at org.apache.http.conn.ssl.AbstractVerifier.verify(A bstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectS ocket(SSLSocketFactory.java:572) at org.apache.http.impl.conn.DefaultClientConnectionO perator.openConnection(DefaultClientConnectionOper ator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionI mpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector .tryConnect(DefaultRequestDirector.java:640) at org.apache.http.impl.client.DefaultRequestDirector .execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.exe cute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.exe cute(AbstractHttpClient.java:805) at org.apache.jmeter.protocol.http.sampler.HTTPHC4Imp l.sample(HTTPHC4Impl.java:284) at org.apache.jmeter.protocol.http.sampler.HTTPSample rProxy.sample(HTTPSamplerProxy.java:62) at org.apache.jmeter.protocol.http.sampler.HTTPSample rBase.sample(HTTPSamplerBase.java:1075) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Pr oxy.java:212)

    I have tried the following after referring to different posts in google:-
    1. Updated JDK to JDK7
    2. Exported the Certficate of the Website in crt,der and p7c
    3. Imported the certificate to cacerts of jre7/lib/security

    I am selecting HTTP 4 client for recording.
    If I use JAVA, the error code is :-
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints at sun.security.ssl.Alerts.getSSLException(Unknown Source) at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source) at sun.security.ssl.Handshaker.fatalSE(Unknown Source) at sun.security.ssl.Handshaker.fatalSE(Unknown Source) at sun.security.ssl.ClientHandshaker.serverCertificat e(Unknown Source) at sun.security.ssl.ClientHandshaker.processMessage(U nknown Source) at sun.security.ssl.Handshaker.processLoop(Unknown Source) at sun.security.ssl.Handshaker.process_record(Unknown Source) at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source) at sun.security.ssl.SSLSocketImpl.performInitialHands hake(Unknown Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) at sun.security.ssl.SSLSocketImpl.startHandshake(Unkn own Source) at sun.net.http://www.protocol.https.HttpsClien...onnect(Unknown Source) at sun.net.http://www.protocol.https.AbstractDe...onnect(Unknown Source) at sun.net.http://www.protocol.https.HttpsURLCo...onnect(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPJavaIm pl.sample(HTTPJavaImpl.java:487) at org.apache.jmeter.protocol.http.sampler.HTTPSample rProxy.sample(HTTPSamplerProxy.java:62) at org.apache.jmeter.protocol.http.sampler.HTTPSample rBase.sample(HTTPSamplerBase.java:1075) at org.apache.jmeter.protocol.http.proxy.Proxy.run(Pr oxy.java:212) Caused by: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints at sun.security.ssl.AbstractTrustManagerWrapper.check AlgorithmConstraints(Unknown Source) at sun.security.ssl.AbstractTrustManagerWrapper.check AdditionalTrust(Unknown Source) at sun.security.ssl.AbstractTrustManagerWrapper.check ServerTrusted(Unknown Source)

    I reinstalled JDK7.
    The error code has now changed to :-
    Secure Connection Failed
    Cannot communicate securely with peer: no common encryption algorithm(s).
    (Error code: ssl_error_no_cypher_overlap)

  2. #2
    New Member
    Join Date
    Sep 2011
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Hi ,

    You have to give protocol as 'https'.
    Please go through the below link:
    Jmeter Problems and Solutions | Technix

  3. #3
    New Member
    Join Date
    Nov 2013
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Try adding a HTTP Request Defaults to your thread group, that solved a similar issue i was facing

  4. #4
    New Member
    Join Date
    Aug 2016
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    all request are not well , the correct one is to insert a regex for "wa=wsignin" value

  5. #5
    Member
    Join Date
    Oct 2013
    Posts
    112
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    The solution is to install JMeter's self-signed certificate - ApacheJMeterTemporaryRootCA.crt (it's being generated in JMeter's "bin" folder at the time you launch HTTP(S) Test Script Recorder into your browser, check out Recording HTTPS Traffic with JMeter's Proxy Server guide for comprehensive instructions.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.33%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:09 PM.

Copyright BetaSoft Inc.