A given AIA instance handles only one type of client request, either HTTP or HTTPS. The following results occur if the AIA receives a request via the incorrect protocol:
If an HTTPS-enabled AIA instance receives an HTTP request, it redirects the request to HTTPS. That is, it returns the message to the client along with the appropriate URL to which the request should be resubmitted. This URL specifies HTTPS protocol and identifies the secure port on which the AIA listens for HTTPS requests.
If an AIA instance that is not HTTPS-enabled receives an HTTPS request, it returns an HTTPSNotEnabledException error.