When trying the save the connection with the above settings, you may run into the following errors:
TLS Error
Solution
HTTPS Error - Getting below error in the UI when pressing the ‘Save’ button:
Environment Variables Error
Solution
TLS Error
[jffe ] [ERROR] [471aeefed3e7deaa] [ ] [main ] - http request failed with the message - Verification of the connection configurations is not allowed when TLS is not enabled in Access and the platform
Solution
Enable TLS for BOTH Artifactory and Access as mentioned in the Prerequisites section above.
HTTPS Error - Getting below error in the UI when pressing the ‘Save’ button:
"Client sent an HTTP request to an HTTPS server" Solution In order to proceed, need to use https://<VAULT_IP>:<PORT>
Environment Variables Error
root@machine:/home/samr# vault auth enable approle Error enabling approle auth: Post "https://127.0.0.1:8200/v1/sys/auth/approle": http: server gave HTTP response to HTTPS client
Solution
The VAULT_ADDR and VAULT_TOKEN env variables weren’t set