# Adding external service in PMM1

**URL:** <https://forums.percona.com/t/adding-external-service-in-pmm1/7456>\
**Category:** PMM 1.x\
**Created:** [March 5, 2020, 4:25am UTC](https://forums.percona.com/t/adding-external-service-in-pmm1/7456 "2020-03-05T04:25:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fruchtenstein](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Fruchtenstein](https://forums.percona.com/u/Fruchtenstein)\
**Post date:** [March 5, 2020, 4:25am UTC](https://forums.percona.com/t/adding-external-service-in-pmm1/7456/1 "2020-03-05T04:25:35Z")

</div>

Hi,  
I’m trying to add a new data source to PMM 1.17.3. I run the following command on the target server:

```auto
pmm-admin add external:service my-core --path /monitor/prometheus --service-port 80

```

HTTP requests are redirected to HTTPS, but the certificate is only valid for my domain name, while PMM sends requests using IP address. Hence the error message:

```auto
x509: cannot validate certificate for xx.xx.xx.xx because it doesn't contain any IP SANs

```

where xx.xx.xx.xx stands for my IP address.

How do I make PMM to use the domain name instead of IP? Or is there a way to skip certificate validation?

Thanks.
