rest assured - Received fatal alert: bad_certificate RestAssured -
i using restassured library make calls rest api's
these https endpoints , tried using "relaxedhttpsvalidation()" method provided in restassured bypass ssl validation
my request looks like
requestspecification req = restassured.given().relaxedhttpsvalidation().body().post();
i keep getting error
javax.net.ssl.sslhandshakeexception: received fatal alert: bad_certificate @ sun.security.ssl.alerts.getsslexception(alerts.java:192) @ sun.security.ssl.alerts.getsslexception(alerts.java:154) @ sun.security.ssl.sslsocketimpl.recvalert(sslsocketimpl.java:1959) @ sun.security.ssl.sslsocketimpl.readrecord(sslsocketimpl.java:1077) @ sun.security.ssl.sslsocketimpl.performinitialhandshake(sslsocketimpl.java:1312)
doeas have idea why happening ?
which version using? had same issue before version. after updating latest problem solved.
Comments
Post a Comment