play 2.6.6 General SSLEngine problem WS client SSL configuration
84 views
Skip to first unread message
MC
unread,
Oct 27, 2017, 3:42:35 PM10/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Play Framework
Hello, I ran into "General SSLEngine problem" errors when trying to connect to a REST API using a Play WS client. I tried adding play.ws.ssl.loose.acceptAnyCertificate = true to Play configuration but that did not help. Is this still an unresolved issue in Play framework? If so how can I work around it? I saw a post that defined a whole new module (a replacement for the default WS client) and I tried that approach but that did not work either. I'd appreciate any help in this matter. Thanks,
M
MC
unread,
Oct 27, 2017, 3:58:33 PM10/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Play Framework
It seems this is only happening when using WS test client: import play.api.test._ WsTestClient.withClient
For some reason acceptAnyCertificate flag is ignored for those. SSL handshake works OK when using a regular WS client. Thanks,