dockware
  • dockware doc's
  • News
  • Setup
    • Docker Setup
    • What Image should you use?
    • Performance Tweaks
  • Use Dockware
    • First Run
    • Update Dockware
    • Advanced Run
    • Default Credentials
    • Symfony or Shopware 5
    • Changelog
  • Features
    • Intro
    • Environment Variables
    • Adminer
    • Mailcatcher
    • Switch PHP Version
    • Switch Node Version
    • Tideways Profiling
    • Pimp my Log
    • Filebeat
    • SSH Users
    • MySQL Users
    • Shopware Currency
  • Development
    • Intro
    • Start Developing
    • Switch Branches
    • Debugging
    • Watchers
    • App Development
    • Update Shopware
    • Dockware Essentials
    • Custom Domains
    • Custom Images
    • Code Coverage
    • CLI Build Shopware 6 Plugin
    • Multi-Environment Setups
  • Contribute
    • Intro
    • Setup Github Version
    • Create Feature
    • Code Styles
    • Testing
    • Create Pull Requests
  • CI/CD
    • Github
    • Gitlab
    • Bitbucket
    • Buddy
  • Tips & Tricks
    • Create a new Project
    • Bind-Mounting
    • Persisting Data
    • Housekeeping
    • Online Servers
    • Performance on Mac
    • Security
  • FAQ
    • Sequel Pro
    • Dockware and other images
    • Scripts (PSH?)
    • Redis
    • Error Port not available
    • MySQL failed
    • Elasticsearch
    • Windows Problems
    • Chrome Problems
    • Import MySQL Dump
    • Shopware 5 Support
    • Use Https/SSL
    • Container hangs in Pipeline
    • Disable the admin worker
  • Additional Links
    • Imprint
    • Founders
    • Dockware website
    • Dockware in Shopware Slack
Powered by GitBook
On this page

Was this helpful?

  1. FAQ

Use Https/SSL

Dockware images come already with installed self-signed certificates. You can even overwrite those certificates and install your certificates with Bind-Mounting (or any other way).

These are the used default locations:

SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key

Using HTTPS locally or on a hosted machine is very easy. Just make sure to expose port 443 in your Docker container.

Afterwards it should already work using https://localhost for example.

If your Chrome warns you about the self signed certificate, just continue to the website or simply type thisisunsafe as a magic word.

If you want to use a different domain instead of https://localhost, you only need to login to the Shopware Administration and configure the domain in your sales channel. (maybe also clear your caches).

Then you only need to tell your host that this domain exists and that it should just map to your localhost IP address. For this, edit your local /etc/hosts file and add a new entry like below. This only needs to be done once on your machine.

127.0.0.1    local.shop.com

Please avoid domains like *.dev and *.local, because these usually bring some troubles with them. They have indeed special handlings in some browsers.

PreviousShopware 5 SupportNextContainer hangs in Pipeline

Last updated 3 years ago

Was this helpful?