Improving local environments with Traefik and mkcert
-
Updated
Jul 13, 2024 - PHP
Improving local environments with Traefik and mkcert
Run the latest version of WordPress with Docker and Docker Compose, providing the ability to manage your local environment efficiently using MySQL, PHP, Nginx, and SSL certificate.
WordPress curl requests (used in wp_remote_get, etc) use a CA cert file in WP Core, not the system PHP path. Use this drop in plugin (easiest in /wp-content/mu-plugins) to fix the issue on localhost. Helpful for compatibility with local SSL certs generated by the mkcert command. cURL error 60: SSL certificate: unable to get local issuer certificate
Sample project to test the use of locally trusted certificates for local development with Docker and Traefik or Nginx
Add a description, image, and links to the mkcert topic page so that developers can more easily learn about it.
To associate your repository with the mkcert topic, visit your repo's landing page and select "manage topics."