If you encounter the following error when adding an S3 destination on JB5, it could be related to an invalid SSL certificate.
Error: Registering Destination... Failed - Error: error:1408F10B:SSL routines:ssl3_get_record:wrong
curl -kvvv https://1.2.3.4:9000
* About to connect() to 1.2.3.4 port 9000 (#0)
* Trying 1.2.3.4...
* Connected to 1.2.3.4 (1.2.3.4) port 9000 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* NSS error -12263 (SSL_ERROR_RX_RECORD_TOO_LONG)
* SSL received a record that exceeded the maximum permissible length.
* Closing connection 0
curl: (35) SSL received a record that exceeded the maximum permissible length.
JB5 uses the HTTPS protocol to validate the destination when adding it for the first time. Even if you set "Verify SSL" to "No" when creating the destination, an invalid SSL certificate is ignored by still requires the SSL protocol to be working.
To properly add the MiniO as an S3 Compatible Destination, you must configure the SSL on the MiniO server. Documentation on how to generate a self-signed certificate for SSL is found here:
https://docs.min.io/docs/how-to-secure-access-to-minio-server-with-tls.html
Once SSL is configured, try adding the server with/without the verify SSL option and it should be added successfully.

