cfhttp not being able to make ssl request.
I am having an issue trying to make https request using cfhttp.
The problem I am getting is
I/O Exception: Name in certificate `www.stagingelections.xxx.xxx' does not match host name `elections.xxx.xxx'
However both names are in the certificate that has been imported into the keystore.
As they are in the certificate but it is taking the last one instead
CN = elections.xxx.xxx
CN = admin.elections.xxx.xxx
CN = admin.stagingelections.xxx.xxx
CN = adminelections.xxx.xxx
CN = adminstagingelections.xxx.xxx
CN = stagingelections.xxx.xxx
CN = www.elections.xxx.xxx
CN = www.stagingelections.xxx.xxx
Does anyone know how the keystore works out which URL to authenicate against?
