Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Currently, when creating a SiteSpecificTrustStore one needs to explicitly specify the port in the URL otherwise the broker will use port -1 and throw an IllegalArgumentException from SiteSpecificTrustStore#downloadCertificate:228. The user will get a "422 port out of range:-1" error.
If no port is specified the broker should use the default port associated with the protocol or give a more helpful message otherwise.