title: How do I get my certificates to work for SSL in LocalStack
body: <p><strong>Update:</strong> I realized in my original post the certificates being referred to are for the database, not the localstack ports. I have updated the description and question, as I still cannot get the certificates recognized by my browser.</p>
  <p>I cannot seem to get my certificates to work with localstack. I tried using them per the &quot;Using custom SSL certificates&quot; instructions from <a href="https://github.com/localstack/localstack" rel="nofollow noreferrer">localstack</a>, including adding the files to the temp directory listed in my volume, but they are not taking.  I also tried adding the following to the volumes part of the yml:</p>
  <pre><code>- ./support/docker/localstack/aws.local.domain.com.pem:/certs/localhost.pem/
  - ./support/docker/localstack/aws.local.domain.com.crt:/certs/localhost.-cert.pem 
  - ./support/docker/localstack/aws.local.domain.com.key:c2c/certs/localhost-key.pem
  </code></pre>
  <p>Not sure of my next steps, any help would be appreciated.</p>
  <p>Docker version = 20.10.2<br>
  I am not sure how to get localstack version, but I did do a docker pull on it as of March 17th.</p>
  <p><strong>docker-compose.yml</strong></p>
  <pre><code>version: '3.7'
  services:
    ecms_database:
      image: 339983081851.dkr.ecr.us-east-1.amazonaws.com/ecms_mysql:1.0.3
      container_name: ecms_database
      ports:
        - '33061:3306'
    memcached:
      image: 'memcached'
      container_name: memcached
      ports:
        - '11211:11211'
    localstack:
      image: localstack/localstack
      container_name: localstack
      ports:
        - &quot;4566:4566&quot;
        - &quot;4571:4571&quot;
      environment:
        - SERVICES=s3,sqs
        - DATA_DIR=/tmp/localstack/data
      volumes:
        - &quot;/private${TMPDIR:-/tmp/localstack}:/tmp/localstack&quot;
  </code></pre>