Perry Terrance wrote:No RESPONSE whatsoever
I find this extremely suspect. Even if the service at port 8081 doesn't doesn't allow the request from the script hosted at port 8080, it should still send an (empty) message in response to the
OPTIONS request with the response headers set in such a way that it indicates that the preflight failed. No response
at all indicates that the culprit is something other than CORS.
MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT
Not sure if this is relevant since I'm testing my own SSL implementation here as well...
This is very likely.
I suggest you try the request over HTTP first to see if CORS is working as expected, and then fix your SSL issues. Note by fixing SSL issues I don't mean fixing your SSL implementation. I mean throwing it away and use something standard. Why are you using your own implementation?
Regardless, your problem is probably solved when you install the self-signed certificate into Firefox' or your operating system's trust store.
As you are probably aware looking at this - my webpage is hosted on the 8080 PORT and my Spring Boot API is on the 8081 PORT of the same IP...
Yes.