Getting back this javax.net.ssl.SSLPeerUnverifiedException: Host name 'mywebsite.azurewebsites.net' does not match the certificate subject provided by the peer (CN=*.azurewebsites.net), but *.azurewebsites.net does match me. I'm only one subdomain deep as in error and should be a match.
I am using the org.apache.http library.
EDIT: My httpcore/httpclient library files were out of date (4.4.1). I updated and the issue was resolved. I believe this to be a previously resolved bug in the apache http library.