Recommended solutions based on your search
WireMock, until 1.5.2, only worked with keystores with the password: "password", this was fixed in 1.5.3. Another issue that causes this exception was fixed in 1.5.3 as well.
Solutions on the web
javax.net.ssl.SSLException: hostname in certificate didn't match: <expectedhost> != <defaulthost>