Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How do I get SSL working? #388

Open
Open
Labels
informationIssue still active to avoid duplicate (information about deprecated version, workaround, doc...)
@joelataylor

Description

@joelataylor

Hi ya. I'm trying to set up SSL but it's not linking thedefault-ssl.conf Apache config into thesites-enabled directory. If I symlink it there manually, I then get a missing cert error:/etc/ssl/certs/ssl-cert-snakeoil.pem isn't on the system. So I thought ok, should I go manually create the self-signed cert? Nope, that didn't work either.

So, I think I'm going down a rabbit hole that I shouldn't be. I'm sure you've built the platform for SSL capabilities.

Note: I actually don't think what I'm trying to do (call the AWS API) will work with a self-signed cert. 🤔

Here's my Docker files:

Dockerfile

FROM thecodingmachine/php:8.3-v4-apacheUSER rootRUN apt-get update && \    apt-get install -y \        git \        libpq-dev \        libzip-dev \        unzip \        zip \        wget \        gnupgENV ACCEPT_EULA=Y# Register the Microsoft repository GPG keys and add the repositoryRUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \    && curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list \    && apt-get update# Install MS ODBC Driver for SQL Server and other dependenciesRUN apt-get install -y msodbcsql18 unixodbc-devRUN PECL_EXTENSION=sqlsrv /usr/local/lib/thecodingmachine-php/extensions/core/docker-install.shRUN PECL_EXTENSION=pdo_sqlsrv /usr/local/lib/thecodingmachine-php/extensions/core/docker-install.shENV PHP_EXTENSIONS="sqlsrv pdo_sqlsrv"USER docker

docker-compose.yml

version: "3.9"services:    gxca-middleware:        build: .        restart: always        ports:            - "80:80"            - "443:443"        volumes:            - ".:/var/www/html"        environment:            PHP_EXTENSION_XDEBUG: 1            PHP_EXTENSION_MONGODB: 1            PHP_EXTENSION_MYSQLI: 0            PHP_EXTENSION_PDO_MYSQL: 0            PHP_EXTENSION_MYSQLND: 0            APACHE_DOCUMENT_ROOT: "public/"            APACHE_EXTENSION_SOCACHE_SHMCB: 1            APACHE_EXTENSION_SSL: 1            PHP_INI_MEMORY_LIMIT: -1            PHP_INI_UPLOAD_MAX_FILESIZE: 100M            PHP_INI_POST_MAX_SIZE: 100M            PHP_INI_XDEBUG__MODE: debug            PHP_INI_XDEBUG__IDEKEY: VSCODE            PHP_INI_XDEBUG__START_WITH_REQUEST: 1            PHP_INI_XDEBUG__DISCOVER_CLIENT_HOST: 1            PHP_INI_XDEBUG__REMOTE_START: 1            PHP_INI_XDEBUG__CLIENT_PORT: 9003            PHP_INI_XDEBUG__CLIENT_HOST: host.docker.internal            PHP_INI_SESSION__SAVE_HANDLER: redis            PHP_INI_SESSION__SAVE_PATH: "tcp://redis:6379"

Metadata

Metadata

Assignees

No one assigned

    Labels

    informationIssue still active to avoid duplicate (information about deprecated version, workaround, doc...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp