I was doing testing as I wish to have both a windows server and linux server for amp but I have run into trouble with https. I have set up a controller named amp-control and so far I've made a linux target called amp-linux. I set up https on them by using my pfsense router as a CA and I've made crts using the pfsense CA. I added the crts to ADS by using the following guide using ampinstmgr convertcertificate,
https://github.com/CubeCoders/AMP/wiki/Setting-up-secure-HTTP-with-AMP
I can accsess both by host name and ip address using https individually but I can only add the target to the controller using the hostname or else it will error out with a trust issue. I have it set up on the crontroller to use the host name but when I click on manage it shows this error in the console,
Failure to make API call to ADS01 (https://192.168.4.15:8080/) - retried 10 times : The SSL connection could not be established, see inner exception.
HttpRequestException
[0] (HttpRequestException) : The SSL connection could not be established, see inner exception.
at ADSModule.WebMethods.MakeInstanceRequest (m.Http.IHttpRequest request, String REQ_RAWJSON, String requesturi) at ADSModule.WebMethods.Servers (m.Http.IHttpRequest request, String id, String REQ_RAWJSON)
AuthenticationException
[1] (AuthenticationException) : Authentication failed, see inner exception.
MonoBtlsException
[2] (MonoBtlsException) : Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED at /usr/src/mono/external/boringssl/ssl/handshake_client.c:1132
at Framework.Btls.FrameworkBtlsContext.ProcessHandshake () at Framework.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Framework.Net.Security.AsyncOperationStatus status, Boolean renegotiate) at (wrapper remoting-invoke-with-check) Framework.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Framework.Net.Security.AsyncOperationStatus,bool) at Framework.Net.Security.AsyncHandshakeRequest.Run (Framework.Net.Security.AsyncOperationStatus status)
I am also able to create instances using the controller for the amp-linux target so I'm not sure what the problem is. If anyone can give me any help that would be grateful and I have included a basic diagram of how the network is here : https://ibb.co/N2Q9T7C