# Serving APM server both with and without SSL

**URL:** <https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851>\
**Category:** APM\
**Tags:** server\
**Created:** [October 1, 2019, 6:02pm UTC](https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851 "2019-10-01T18:02:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nie/32/55307_2.png) [@Nie](https://discuss.elastic.co/u/Nie)\
**Post date:** [October 1, 2019, 6:02pm UTC](https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851/1 "2019-10-01T18:02:41Z")

</div>

Is it possible to serve APM server both with ssl and without ssl?

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [October 2, 2019, 6:13am UTC](https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851/2 "2019-10-02T06:13:40Z")

</div>

Hi @Nie,  
that's not possible. Would you mind sharing a bit about the use case for this?

You could run two separate APM Server instances if you need different settings.

---

<div class="post-metadata">

**Author:** ![Nie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nie/32/55307_2.png) [@Nie](https://discuss.elastic.co/u/Nie)\
**Post date:** [October 2, 2019, 2:09pm UTC](https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851/3 "2019-10-02T14:09:52Z")

</div>

Got it. I was thinking about 2 separate instances but it will make developers' configuration more painful. The reason I asked about it is because of cutover/transition. Let's assume there are hundreds of java applications, node, rum, etc that are currently pointing to [http://internal-apm-server](http://internal-apm-server). Based from our experience in real world, dev teams doesn't redeploy their apps on the same day. It takes weeks even if they're in the ci/cd pipeline. If we decide to activate https on the apm-server, all agents will be affected.Good thing that I just started building our apm server. I will use https right away.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 23, 2019, 10:10am UTC](https://discuss.elastic.co/t/serving-apm-server-both-with-and-without-ssl/201851/4 "2019-10-23T10:10:05Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
