Host name does not match the certificate subject provided by the peer, but it's a perfect match
问题 I have two servers that need to speak with each other using HTTPS. Let's call them 'server' and 'client' in this case where 'client is making an https call to 'server'. In production the server will have a valid CA certificate but while testing we will use a self-signed certificate. As I understand it this is what we have to do: create the certificate add it to the keystore on server add it to the trusted cacerts keystore on client (so that it will accept this self-signed cert when trying to