I set up RUM agent for a React application and am facing ERR_CERT_AUTHORITY_INVALID errors from Developer Tools in the Edge browser. I have set up a self signed cert on my Windows desktop but the error still appears.
The RUM initialisation code is:
import {init as initApm} from '@elastic/apm-rum';
var apm = initApm({
serviceName: 'web',
serviceUrl: 'https://xxx.apm.ece.dev.org:9243',
serviceVersion: '1.0',
logLevel: 'error',
environment: 'dev'
)};
When I removed the 9243 port from serviceUrl, the error became ERR_CERT_COMMON_NAME_INVALID.
What can be done to solve this cert error?
Kibana version: 8.5
Elasticsearch version: 8.5
APM Server version: 8.5
APM Agent language and version: RUM 5.14.0
Browser version: Edge
Is there anything special in your setup? There is a Nginx in front of the ECE machines
Errors in browser console (if relevant): ERR_CERT_AUTHORITY_INVALID
Provide logs and/or server output (if relevant):