Heroku ssl certficate not switched with custom domain
<p>I have a heroku app (whatever-app-11123) and I want to use a custom domain through ssl (<a href="https://myapp.co" rel="nofollow">https://myapp.co</a>).
I have bought the certificate and followed all the instructions provided by heroku.
Strange thing is that <a href="https://whatever-app-11123" rel="nofollow">https://whatever-app-11123</a> is displaying the myapp.co certificate and <a href="https://myapp.co" rel="nofollow">https://myapp.co</a> is displaying the *.herokuapp.com certificate.</p>

<p>I need this to be the other way around : myapp.co with the myapp.co certificat.</p>

<p>Any hints on how achieving this?</p>

<p>Results of different commands :</p>

<p>herok:certs</p>

<pre><code>Endpoint                           Common Name(s)                            Expires               Trusted
---------------------------------  ----------------------------------------  --------------------  -------
whatever-app-11123.herokuapp.com  myapp.co, www.myapp.co  2017-02-12 23:59 UTC  True
</code></pre>

<p>curl -kvI <a href="https://www.myapp.co" rel="nofollow">https://www.myapp.co</a></p>

<pre><code>* Adding handle: conn: 0x7fbd03804000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbd03804000) send_pipe: 1, recv_pipe: 0
* About to connect() to www.myapp.co port 443 (#0)
*   Trying 46.132.168.142...
* Connected to www.myapp.co (46.132.168.142) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
* Server certificate: *.herokuapp.com
* Server certificate: DigiCert SHA2 High Assurance Server CA
* Server certificate: DigiCert High Assurance EV Root CA
&gt; HEAD / HTTP/1.1
&gt; User-Agent: curl/7.30.0
&gt; Host: www.myapp.co
&gt; Accept: */*
&gt; 
&lt; HTTP/1.1 302 Found
HTTP/1.1 302 Found
* Server Cowboy is not blacklisted

&lt; 
* Connection #0 to host www.myapp.co left intact
</code></pre>