Without divulging TOO much information, I need to setup a web server system that is intended to be used by end users all over the internet.
the use case is such tha
Since you're on localhost, you can tell your browser to trust any certificate you want.
Make a self-signed certificate for localhost, and tell your browser to trust it.