This added the certs to the machine that you ran the script on.
If you are trying to access from another computer the certs are not added/installed there, so you have to do the “proceed anyway” or use something else to SSL terminate rather than using Self Signed Certs.