HTTPS support for Wiremock on Android

93 views
Skip to first unread message

abha gupta

unread,
Jun 6, 2016, 8:07:28 PM6/6/16
to wiremock-user
Hi,
I am using https://github.com/handstandsam/AndroidHttpMockingExamples  to create a project which runs Wiremock on the android device and interacts with the stubbed json responses successfully on 'http'. I have few tests which needs to interact on 'https' protocol . I followed the steps here http://wiremock.org/https.html#handling-https-requests, created a new .jks file and mounted on the emulator. But I keep getting java.security.KeyStoreException: java.security.NoSuchAlgorithmException: KeyStore JKS implementation not found .  

Has anyone found the solution to this issue?

Thanks
Abha

Bhaskar Pinna

unread,
Jun 8, 2016, 5:14:59 PM6/8/16
to wiremock-user
Yes you have to apply below parameters while running in standalone and attached jks should be respective class path

--https-keystore="keystore.jks"
keystore.jks
Reply all
Reply to author
Forward
0 new messages