If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text
TIP 1: select at least one tag that further categorizes your topic. For example server
for APM Server related questions, java
for questions regarding the Elastic APM Java agent, or ui
for questions about the APM App within Kibana.
TIP 2: Check out the troubleshooting guide first. Not only will it help you to resolve common problems faster but it also explains in more detail which information we need before we can properly help you.
Kibana version: 7.10.1
Elasticsearch version: 7.10.1
APM Server version: 7.10.1
APM Agent language and version: Javascript & 5.x
Browser version: Chrome 87.0.4280.141
Original install method (e.g. download page, yum, deb, from source, etc.) and version: From Elastic Downloads Page
Fresh install or upgraded from other version? Fresh Install
Is there anything special in your setup? For example, are you using the Logstash or Kafka outputs? Are you using a load balancer in front of the APM Servers? Have you changed index pattern, generated custom templates, changed agent configuration etc.
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
We have enabled HTTPS in APM server following the documentation using self signed authority. After enabling HTTPS, post events api is failing from Javascript(angular) RUM agent. We are getting 'net::ERR_CERT_COMMON_NAME_INVALID' error in events post api. Is there any way to use SSL in APM server and avoid requesting certificate for RUM endpoint so that call between APM RUM agent and APM server succeeds?
Steps to reproduce:
- Enabled SSL in apm server.
- Add Javascript APM RUM agent to application.
- Events API call to apm server will fail.
Errors in browser console (if relevant):
[Elastic APM] Failed sending events! Error: https://10.17.40.74:8200/intake/v2/rum/events HTTP status: 0 zone.js:2969 POST https://10.17.40.74:8200/intake/v2/rum/events net::ERR_CERT_COMMON_NAME_INVALID
Provide logs and/or server output (if relevant):