Skip to content

Instantly share code, notes, and snippets.

@TheManFromEarth1
Last active September 20, 2020 14:07
Show Gist options
  • Select an option

  • Save TheManFromEarth1/6b4e89d8919c22589409b48e2aa95b91 to your computer and use it in GitHub Desktop.

Select an option

Save TheManFromEarth1/6b4e89d8919c22589409b48e2aa95b91 to your computer and use it in GitHub Desktop.
Docker Compose Logs
docker-compose logs
Attaching to devilbox_mysql_1, devilbox_mailhog_1, devilbox_pgsql_1, devilbox_httpd_1, devilbox_php_1, devilbox_bind_1
bind_1 | [INFO] Debug level: 2
bind_1 | [INFO] BIND logging: disabled explicitly
bind_1 | [INFO] Using default DNS TTL time: 3600 sec
bind_1 | [INFO] Using default DNS Refresh time: 1200 sec
bind_1 | [INFO] Using default DNS Retry time: 180 sec
bind_1 | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1 | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1 | [INFO] Adding wildcard DNS: *.loc -> 127.0.0.1
bind_1 |
bind_1 | zone loc/IN: loaded serial 1600605821
bind_1 | OK
bind_1 | [INFO] Not adding any extra hosts
bind_1 | [INFO] DNSSEC Validation: no
bind_1 | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1 | [INFO] Starting BIND 9.11.3
pgsql_1 |
pgsql_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
pgsql_1 |
pgsql_1 | 2020-09-20 12:43:43.018 UTC [1] LOG: starting PostgreSQL 12.1 (Debian 12.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
pgsql_1 | 2020-09-20 12:43:43.018 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
pgsql_1 | 2020-09-20 12:43:43.018 UTC [1] LOG: listening on IPv6 address "::", port 5432
pgsql_1 | 2020-09-20 12:43:43.025 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
pgsql_1 | 2020-09-20 12:43:43.046 UTC [26] LOG: database system was shut down at 2020-09-20 12:43:25 UTC
pgsql_1 | 2020-09-20 12:43:43.053 UTC [1] LOG: database system is ready to accept connections
mailhog_1 | 2020/09/20 12:43:42 Using in-memory storage
mailhog_1 | 2020/09/20 12:43:42 [SMTP] Binding to address: 0.0.0.0:1025
mailhog_1 | 2020/09/20 12:43:42 Serving under http://0.0.0.0:8025/
mailhog_1 | [HTTP] Binding to address: 0.0.0.0:8025
mailhog_1 | Creating API v1 with WebPath:
mailhog_1 | Creating API v2 with WebPath:
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
php_1 | [INFO] Debug level: 2
php_1 | [INFO] Changing user 'devilbox' uid to: 1000
php_1 | root $ usermod -u 1000 devilbox
php_1 | usermod: no changes
php_1 | root $ chown -R devilbox /home/devilbox || true
php_1 | chown: changing ownership of '/home/devilbox/.ssh': Read-only file system
php_1 | root $ chown -R devilbox /var/lib/php/session
php_1 | root $ chown -R devilbox /var/lib/php/wsdlcache
php_1 | [INFO] Changing group 'devilbox' gid to: 1000
php_1 | root $ groupmod -g 1000 devilbox
php_1 | root $ chown -R :devilbox /home/devilbox || true
php_1 | chown: changing group of '/home/devilbox/.ssh': Read-only file system
php_1 | root $ chown -R :devilbox /var/lib/php/session
php_1 | root $ chown -R :devilbox /var/lib/php/wsdlcache
php_1 | [INFO] Setting container timezone to: UTC
php_1 | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
php_1 | [INFO] Setting PHP: timezone=UTC
php_1 | root $ echo 'date.timezone = UTC' > /usr/local/etc/php/conf.d/devilbox-runtime-timezone.ini
php_1 | [INFO] Docker date set to: Sun Sep 20 12:43:41 UTC 2020
php_1 | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php
php_1 | [INFO] Make sure to mount this directory in order to view logs
php_1 | root $ chown -R devilbox:devilbox /var/log/php
php_1 | root $ chmod 0755 /var/log/php
php_1 | [INFO] $ENABLE_MAIL set to 2. Enabling postfix catch-all
php_1 | root $ chown devilbox:devilbox /var/log/php
php_1 | root $ chown devilbox:devilbox /var/log/php/mail.log
php_1 | root $ chmod 0644 /var/log/php/mail.log
php_1 | root $ chmod 0644 /var/mail/devilbox
php_1 | root $ chown devilbox:devilbox /var/mail
php_1 | root $ chown devilbox:devilbox /var/mail/devilbox
mysql_1 | 2020-09-20 12:43:42+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.24+maria~focal started.
mysql_1 | 2020-09-20 12:43:43+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1 | 2020-09-20 12:43:43+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.3.24+maria~focal started.
mysql_1 | 2020-09-20 12:43:43 0 [Note] mysqld (mysqld 10.3.24-MariaDB-1:10.3.24+maria~focal) starting as process 1 ...
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Using Linux native AIO
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Uses event mutexes
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Number of pools: 1
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Using SSE2 crc32 instructions
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Waiting for purge to start
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: 10.3.24 started; log sequence number 13575717; transaction id 9132
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1 | 2020-09-20 12:43:43 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1 | 2020-09-20 12:43:43 0 [Note] Server socket created on IP: '::'.
mysql_1 | 2020-09-20 12:43:43 0 [Warning] 'proxies_priv' entry '@% root@mysql' ignored in --skip-name-resolve mode.
mysql_1 | 2020-09-20 12:43:43 0 [Note] Reading of all Master_info entries succeeded
mysql_1 | 2020-09-20 12:43:43 0 [Note] Added new Master_info '' to hash table
mysql_1 | 2020-09-20 12:43:43 0 [Note] mysqld: ready for connections.
mysql_1 | Version: '10.3.24-MariaDB-1:10.3.24+maria~focal' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
mysql_1 | 2020-09-20 12:43:43 0 [Note] InnoDB: Buffer pool(s) load completed at 200920 12:43:43
mysql_1 | 2020-09-20 13:14:43 16 [Warning] Access denied for user 'root'@'172.16.238.10' (using password: YES)
mysql_1 | 2020-09-20 13:40:47 17 [Warning] Access denied for user 'root'@'172.16.238.10' (using password: YES)
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
mailhog_1 | [APIv1] KEEPALIVE /api/v1/events
php_1 | root $ postconf -e 'strict_mailbox_ownership=no'
php_1 | root $ postconf -e 'inet_protocols=ipv4'
php_1 | root $ postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'
php_1 | root $ echo '/.*@.*/ devilbox' >> /etc/postfix/virtual
php_1 | root $ newaliases
php_1 | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker.
php_1 | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker.
php_1 | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
php_1 | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
php_1 | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
php_1 | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
php_1 | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
php_1 | [INFO] Enabling 'socat-80-httpd-80' to be started by supervisord
php_1 | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord
php_1 | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
php_1 | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
php_1 | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
php_1 | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
php_1 | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
php_1 | [INFO] Enabling 'rsyslogd' to be started by supervisord
php_1 | [INFO] Enabling 'postfix' to be started by supervisord
php_1 | [INFO] Enabling 'php-fpm' to be started by supervisord
php_1 | [INFO] PHP.ini: mailhog.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-mailhog.ini
php_1 | root $ cp /etc/php-custom.d/mailhog.ini /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-mailhog.ini
php_1 | [INFO] PHP.ini: xdebug.ini -> /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-xdebug.ini
php_1 | root $ cp /etc/php-custom.d/xdebug.ini /usr/local/etc/php/conf.d/yyy-devilbox-user-runtime-xdebug.ini
php_1 | root $ find /usr/local/etc/php/conf.d -type f -iname '*.ini' -exec chmod 0644 "{}" \;
php_1 | root $ find /usr/local/etc/php-fpm.d -type f -iname '*.conf' -exec chmod 0644 "{}" \;
php_1 | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
php_1 | [INFO] Disabling the following PHP modules: oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-oci8.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-rdkafka.ini
php_1 | root $ rm /usr/local/etc/php/conf.d/docker-php-ext-swoole.ini
php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.conf
php_1 | root $ chown devilbox:devilbox /etc/mysqldump-secure.cnf
php_1 | root $ chown devilbox:devilbox /var/log/mysqldump-secure.log
php_1 | root $ chown devilbox:devilbox /shared/backups/mysql
php_1 | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
php_1 | root $ sed -i'' 's/^user.*/user = root/g' /etc/mysqldump-secure.cnf
php_1 | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
php_1 | root $ perl -pi -e 's/^password.*/password = /g' /etc/mysqldump-secure.cnf
php_1 | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
php_1 | root $ sed -i'' 's/^host.*/host = mysql/g' /etc/mysqldump-secure.cnf
php_1 | root $ chown devilbox:devilbox /shared/backups
httpd_1 | [INFO] Debug level: 2
httpd_1 | [INFO] Runtime debug: 2
httpd_1 | [INFO] Changing user 'nginx' uid to: 1000
httpd_1 | root $ usermod -u 1000 nginx
httpd_1 | [INFO] Changing group 'nginx' gid to: 1000
httpd_1 | root $ groupmod -g 1000 nginx
httpd_1 | [INFO] Setting container timezone to: UTC
httpd_1 | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
httpd_1 | [INFO] Docker date set to: Sun Sep 20 12:43:42 UTC 2020
httpd_1 | [INFO] $WORKER_PROCESSES set to its default value: 'auto'.
httpd_1 | root $ sed -i'' 's/__WORKER_PROCESSES__/auto/g' /etc/nginx/nginx.conf
httpd_1 | [INFO] Setting worker_connections to: 1024
httpd_1 | root $ sed -i'' 's/__WORKER_CONNECTIONS__/1024/g' /etc/nginx/nginx.conf
httpd_1 | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
httpd_1 | [INFO] PHP-FPM: Enabled
httpd_1 | [INFO] PHP-FPM: Server address: 172.16.238.10
httpd_1 | [INFO] PHP-FPM: Server port: 9000
httpd_1 | [INFO] PHP-FPM: Timeout: 180
httpd_1 | [INFO] Main vhost: Enabled
httpd_1 | [INFO] Main vhost: Setting SSL type to: http and https
httpd_1 | [INFO] Main vhost: Enable automatic generation of SSL certificates
httpd_1 | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox,httpd
httpd_1 | [INFO] $MAIN_VHOST_DOCROOT not specified. Keeping default: htdocs
httpd_1 | [INFO] $MAIN_VHOST_TPL not specified. Keeping default: cfg
php_1 | root $ chown devilbox:devilbox /shared/httpd
php_1 | root $ chmod 0755 /shared/backups
php_1 | root $ chmod 0755 /shared/httpd
php_1 | root $ cp /ca/devilbox-ca.crt /usr/local/share/ca-certificates/devilbox-devilbox-ca.crt
php_1 | root $ update-ca-certificates
php_1 | Updating certificates in /etc/ssl/certs...
php_1 | 1 added, 0 removed; done.
php_1 | Running hooks in /etc/ca-certificates/update.d...
php_1 | done.
php_1 | [INFO] Starting supervisord
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
httpd_1 | [INFO] Main vhost: Enabling httpd status page
httpd_1 | [INFO] Main vhost: Changing status page alias to: /devilbox-httpd-status
httpd_1 | [INFO] Mass vhost: Enabled
httpd_1 | [INFO] Mass vhost: Setting SSL type to: http and https
httpd_1 | [INFO] Mass vhost: Enable automatic generation of SSL certificates
httpd_1 | [INFO] Mass vhost: changing tld to: .loc
httpd_1 | [INFO] Mass vhost: changing document root to: htdocs
httpd_1 | [INFO] Mass vhost: changing template dir to: .devilbox
httpd_1 | [INFO] vhost-gen: no customized template found
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's|__ENABLE_STATUS__|yes|g' /etc/vhost-gen/main.yml
httpd_1 | root $ sed -i'' 's|__STATUS_ALIAS__|/devilbox-httpd-status|g' /etc/vhost-gen/main.yml
httpd_1 | root $ vhost_gen.py -n localhost -p /var/www/default/htdocs -t /etc/vhost-gen/templates-main/ -c /etc/vhost-gen/main.yml -o /var/www/default/cfg -v -d -s -m both
httpd_1 | [WARN] override template not found: /var/www/default/cfg/nginx.yml
httpd_1 | vhostgen: [2020-09-20 12:43:42] Adding: localhost
httpd_1 | root $ sed -i'' 's|__DOCROOT_SUFFIX__|htdocs|g' /etc/vhost-gen/mass.yml
httpd_1 | root $ sed -i'' 's/__TLD__/.loc/g' /etc/vhost-gen/mass.yml
httpd_1 | root $ mkdir -p /etc/httpd/cert/main
httpd_1 | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localhost' -e 'admin@localhost' -a 'localhost *.localhost devilbox *.devilbox httpd' /ca/devilbox-ca.key /ca/devilbox-ca.crt /etc/httpd/cert/main/localhost.key /etc/httpd/cert/main/localhost.csr /etc/httpd/cert/main/localhost.crt
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/main/localhost.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/main/localhost.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 5a:38:ba:db:2c:1b:10:59:7d:b4:59:fb:f2:bd:4b:be:3e:29:27:5e
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing
php_1 | 2020-09-20 12:43:45,438 INFO Set uid to user 0 succeeded
php_1 | 2020-09-20 12:43:45,439 INFO supervisord started with pid 1
php_1 | 2020-09-20 12:43:46,442 INFO spawned: 'rsyslogd' with pid 1460
php_1 | 2020-09-20 12:43:46,443 INFO spawned: 'socat-3306-mysql-3306' with pid 1461
php_1 | 2020-09-20 12:43:46,445 INFO spawned: 'socat-6379-redis-6379' with pid 1462
php_1 | 2020-09-20 12:43:46,446 INFO spawned: 'postfix' with pid 1463
php_1 | 2020-09-20 12:43:46,448 INFO spawned: 'socat-27017-mongo-27017' with pid 1464
php_1 | 2020-09-20 12:43:46,450 INFO spawned: 'php-fpm' with pid 1465
php_1 | 2020-09-20 12:43:46,453 INFO spawned: 'socat-80-httpd-80' with pid 1468
php_1 | 2020-09-20 12:43:46,455 INFO spawned: 'socat-443-httpd-443' with pid 1469
php_1 | 2020-09-20 12:43:46,456 INFO spawned: 'socat-11211-memcd-11211' with pid 1470
php_1 | 2020-09-20 12:43:46,457 INFO spawned: 'socat-5432-pgsql-5432' with pid 1472
php_1 | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
php_1 | rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ]
php_1 | 2020-09-20 12:43:47,510 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1 | 2020-09-20 12:43:47,510 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = [email protected], dnQualifier = "OoRR/0lLv9U3q1IZDDJZDJPa+Qc="
httpd_1 | Validity
httpd_1 | Not Before: Sep 20 12:43:42 2020 GMT
httpd_1 | Not After : Dec 24 12:43:42 2022 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localhost, emailAddress = admin@localhost
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:d0:e3:7d:16:9d:36:b8:ee:91:c4:ed:4b:92:f6:
httpd_1 | 9f:37:16:32:61:fa:8f:1f:e2:be:a5:0a:bd:a8:65:
httpd_1 | 9e:d8:39:dd:74:d1:91:c8:0d:10:e3:71:86:0b:ae:
httpd_1 | 70:54:ba:cd:57:bc:f6:4f:7c:a8:26:ea:3b:81:79:
httpd_1 | a1:a6:0c:e2:11:81:3e:71:8a:ee:62:23:dc:48:f8:
httpd_1 | b3:95:cf:ff:08:2c:b0:8d:e2:7b:40:6e:32:06:81:
httpd_1 | 29:06:b7:d9:74:0d:c9:fc:d4:24:3c:cb:05:68:f5:
httpd_1 | 4b:8d:98:b9:84:a7:3d:f7:8f:c6:14:6f:4a:cd:65:
httpd_1 | ea:b5:d0:ac:7b:e2:e8:8c:5b:8b:ae:96:71:23:ca:
httpd_1 | b9:5b:0f:66:5c:f3:11:f7:7c:fb:57:84:fc:59:8c:
httpd_1 | f4:68:a4:dd:8c:6f:48:bc:66:6b:65:12:1e:9c:4d:
httpd_1 | 9f:ae:c6:6a:ab:e0:fb:58:91:94:ac:76:b9:b3:ef:
httpd_1 | 96:2e:08:19:b3:35:ef:e9:30:ba:be:74:8f:dc:25:
httpd_1 | 67:a5:b1:37:ad:f3:cd:9b:ae:b3:4d:2f:6e:95:9f:
httpd_1 | e5:c5:44:14:39:83:92:19:cf:e3:c8:3e:3f:87:8a:
httpd_1 | 23:0f:81:cf:8e:af:c0:5a:18:b4:52:14:fd:77:77:
httpd_1 | 58:15:99:2e:41:a2:af:df:7e:b2:91:ca:69:06:30:
httpd_1 | 33:dd
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:FALSE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | 69:2C:96:4E:C4:73:21:B8:45:02:11:2B:24:A0:7D:BD:5A:2F:98:68
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:3A:84:51:FF:49:4B:BF:D5:37:AB:52:19:0C:32:59:0C:93:DA:F9:07
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/[email protected]/dnQualifier=OoRR/0lLv9U3q1IZDDJZDJPa+Qc=
httpd_1 | serial:13:6E:92:5C:38:4D:99:5F:F9:6D:60:43:9E:48:77:D2:09:F2:C6:C4
httpd_1 |
httpd_1 | X509v3 Extended Key Usage:
httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox, DNS:httpd
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 68:91:4b:fd:5d:3c:29:4c:2f:91:29:d8:19:d7:38:67:8f:cc:
httpd_1 | ce:a6:6e:3b:c9:35:78:54:5b:42:e9:ed:9a:7a:c4:04:4d:e3:
httpd_1 | a1:e1:3a:be:1c:46:8f:9e:6a:e3:f9:8a:c3:5b:44:b1:dd:16:
httpd_1 | 16:d5:a3:89:3b:54:87:70:a7:1f:82:ec:21:17:9b:51:a4:07:
httpd_1 | 88:0e:07:88:c5:c3:0f:4e:17:7f:d2:b9:69:97:b2:d4:7a:24:
httpd_1 | 1b:5f:6c:cb:a8:74:93:e7:59:b0:c9:8f:62:ee:05:59:03:c5:
httpd_1 | 24:68:ff:3c:60:97:7b:cb:cd:4f:21:5d:0a:24:37:97:87:0b:
httpd_1 | f6:9f:27:94:5f:26:f8:07:9d:aa:48:24:b8:dc:f5:b0:00:dc:
httpd_1 | 8d:72:d6:0a:28:10:c7:ed:eb:a1:89:d3:51:14:2b:25:c4:b3:
httpd_1 | 62:b3:28:6d:74:02:cc:a6:bf:94:af:70:ce:a7:fc:1c:59:ec:
httpd_1 | 93:82:62:3d:d6:bd:e3:25:bf:d8:bc:09:42:9c:90:db:ed:4c:
httpd_1 | d4:73:93:1b:74:86:2a:8c:30:83:6c:b8:fe:7f:44:be:b7:29:
httpd_1 | 01:ef:24:86:ea:ba:bd:71:1d:05:62:c3:4e:a3:84:ca:19:42:
httpd_1 | 40:d0:42:8f:b9:59:df:26:d4:19:c5:e2:78:f0:ff:07:09:1c:
httpd_1 | a1:a5:e1:e3
httpd_1 | /etc/httpd/cert/main/localhost.crt: OK
httpd_1 | root $ chown -R 1000:1000 /ca
httpd_1 | [INFO] Starting supervisord: 3.3.5
httpd_1 | 2020-09-20 12:43:42,913 INFO Set uid to user 0 succeeded
httpd_1 | 2020-09-20 12:43:42,914 INFO supervisord started with pid 1
httpd_1 | 2020-09-20 12:43:43,916 INFO spawned: 'httpd' with pid 234
httpd_1 | 2020-09-20 12:43:43,919 INFO spawned: 'watcherd' with pid 235
httpd_1 | 2020-09-20 12:43:44,921 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | 2020-09-20 12:43:44,921 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1 | watcherd: [2020-09-20 12:43:46] Starting daemon.
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/hookito-data.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=hookito-data.loc/[email protected]' -out /etc/httpd/cert/mass/hookito-data.loc.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/hookito-data.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/hookito-data.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 5a:38:ba:db:2c:1b:10:59:7d:b4:59:fb:f2:bd:4b:be:3e:29:27:5f
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = [email protected], dnQualifier = "OoRR/0lLv9U3q1IZDDJZDJPa+Qc="
httpd_1 | Validity
httpd_1 | Not Before: Sep 20 12:43:46 2020 GMT
httpd_1 | Not After : Dec 24 12:43:46 2022 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = hookito-data.loc, emailAddress = [email protected]
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:b7:a8:8d:0d:ac:97:9c:ea:cf:c5:7d:52:94:ae:
httpd_1 | 8b:cc:2e:bc:55:87:79:c1:93:4f:bf:41:f1:b4:84:
httpd_1 | 35:da:aa:8d:a3:1d:5f:2e:9e:bc:2e:05:69:3c:86:
httpd_1 | 0e:d4:99:32:fd:c4:b2:f0:a0:09:5d:55:41:92:af:
httpd_1 | 3e:b1:3c:0d:82:8e:07:02:d7:2f:d9:f0:9b:fc:24:
httpd_1 | 08:34:ff:32:ab:f2:71:8a:7e:a7:2c:cd:81:e1:46:
httpd_1 | 7d:43:c0:97:83:5c:33:44:9f:f3:36:ac:23:d0:f7:
httpd_1 | fd:e2:30:2a:d4:dc:22:65:eb:32:8e:f1:ee:a6:12:
httpd_1 | 4c:4c:4d:b6:ad:8f:bc:30:1f:d5:b4:18:11:54:56:
httpd_1 | 8d:08:ac:ac:86:66:b8:9b:dc:49:df:d8:c2:93:cc:
httpd_1 | 03:6d:1c:8e:67:96:b5:0f:76:26:d4:26:cd:f1:ef:
httpd_1 | 6b:44:46:2e:b9:80:82:db:08:de:b6:5f:56:0d:c3:
httpd_1 | 1c:da:6a:bf:36:4f:da:ea:13:02:90:d3:d9:c0:e2:
httpd_1 | a5:f0:83:eb:3a:98:67:71:fd:65:ba:f3:34:68:d1:
httpd_1 | d5:d9:99:87:aa:3f:92:7f:e6:83:a1:ee:76:38:1a:
httpd_1 | 4e:3f:e5:1d:ea:bf:56:25:5f:4a:99:bb:d8:8b:a2:
httpd_1 | f8:2b:01:0c:01:b4:05:2e:d9:bf:a3:9a:fd:c7:eb:
httpd_1 | f2:a5
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:FALSE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | B4:2A:B5:A4:87:3C:72:23:A3:6C:19:23:6F:57:F4:5C:87:8E:D1:86
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:3A:84:51:FF:49:4B:BF:D5:37:AB:52:19:0C:32:59:0C:93:DA:F9:07
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/[email protected]/dnQualifier=OoRR/0lLv9U3q1IZDDJZDJPa+Qc=
httpd_1 | serial:13:6E:92:5C:38:4D:99:5F:F9:6D:60:43:9E:48:77:D2:09:F2:C6:C4
httpd_1 |
httpd_1 | X509v3 Extended Key Usage:
httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:hookito-data.loc, DNS:*.hookito-data.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 2d:d8:a3:0a:a0:da:53:81:f1:eb:5f:b2:da:df:7f:14:47:f2:
httpd_1 | 0d:7c:f8:3c:9c:2c:19:33:00:b0:3b:61:02:3a:e3:36:8c:82:
httpd_1 | 17:bf:de:f4:85:b5:b2:54:86:05:09:b4:2f:20:13:1f:87:bc:
httpd_1 | 33:6b:2b:64:c2:5d:49:e1:e8:c0:40:50:a7:01:53:da:24:30:
httpd_1 | 6b:5f:b6:d6:d8:7d:38:e9:61:49:ae:5d:11:bf:34:f6:55:77:
httpd_1 | e9:60:59:d5:b5:67:59:4e:3a:a3:db:2f:36:f2:a5:21:f9:aa:
httpd_1 | c9:c6:78:a5:33:2d:62:9f:8a:05:15:7a:d5:c1:50:1e:3b:dd:
httpd_1 | a5:3a:3c:d2:b4:05:32:29:cf:03:9c:f5:33:50:3d:fe:67:93:
httpd_1 | ed:d2:7f:09:ad:c5:b9:bf:8f:e7:10:c8:ad:aa:be:45:d6:c0:
httpd_1 | f6:18:a3:c0:37:d5:58:b8:f6:9d:df:b6:10:fd:9c:58:fb:61:
httpd_1 | 8c:e0:06:14:0a:9d:c2:af:d5:19:1e:09:57:07:7e:d7:94:ae:
httpd_1 | c2:81:e1:8b:03:97:24:bf:a9:33:96:7e:ef:d4:71:ef:fd:9c:
httpd_1 | 49:9d:cf:84:03:75:d1:e7:ed:f7:0c:ea:74:e2:07:27:3e:ee:
httpd_1 | ff:79:a0:a1:c9:4b:ce:52:aa:b1:4d:b3:c3:07:63:89:22:bd:
httpd_1 | 8a:3b:7c:d5
httpd_1 | /etc/httpd/cert/mass/hookito-data.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/hookito-data" -n "hookito-data" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/hookito-data/.devilbox/" -s -v -m both
httpd_1 | [WARN] override template not found: /shared/httpd/hookito-data/.devilbox/nginx.yml
httpd_1 | vhostgen: [2020-09-20 12:43:47] Adding: hookito-data.loc
httpd_1 | watcherd: [2020-09-20 12:43:47] [OK] ADD: succeeded: /shared/httpd/hookito-data
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/php.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=php.loc/[email protected]' -out /etc/httpd/cert/mass/php.loc.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/php.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/php.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 5a:38:ba:db:2c:1b:10:59:7d:b4:59:fb:f2:bd:4b:be:3e:29:27:60
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = [email protected], dnQualifier = "OoRR/0lLv9U3q1IZDDJZDJPa+Qc="
httpd_1 | Validity
httpd_1 | Not Before: Sep 20 12:43:47 2020 GMT
httpd_1 | Not After : Dec 24 12:43:47 2022 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = php.loc, emailAddress = [email protected]
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:be:0a:4f:58:44:0d:a2:ac:06:a3:86:98:08:8e:
httpd_1 | ce:81:85:23:39:a3:95:54:07:1d:3b:e0:38:bc:b1:
httpd_1 | cb:20:39:52:8d:0d:1b:26:1c:1d:43:7a:f0:a4:6c:
httpd_1 | 07:96:68:7a:fc:54:6c:2d:7f:f1:fe:a0:2b:a0:e9:
httpd_1 | 1e:b0:0a:21:97:21:cf:5e:32:f8:74:a7:f3:d0:7c:
httpd_1 | 94:07:a3:95:66:80:90:42:3a:96:7b:d9:c7:9e:f2:
httpd_1 | 42:ed:fc:0b:45:a7:6f:9b:fe:41:a8:41:af:ac:81:
httpd_1 | 64:1e:07:31:20:d4:42:a9:6c:c0:28:a3:13:29:0e:
httpd_1 | 0d:04:4e:8e:0b:27:41:97:c7:39:78:ca:49:7e:39:
httpd_1 | cc:b3:0f:25:7d:7f:f0:ea:54:cb:42:92:56:eb:5e:
httpd_1 | 55:4c:44:0c:22:50:d8:c4:ed:95:d8:e0:99:f6:f9:
httpd_1 | 9f:ca:d3:4e:86:20:87:22:71:5f:1d:38:4d:61:29:
httpd_1 | 0b:99:d7:a4:e5:4b:1b:54:0d:f5:69:5c:87:a2:7e:
httpd_1 | 93:ca:30:ee:7a:b2:4f:01:ce:c0:98:32:bc:b8:7e:
httpd_1 | 57:88:c1:19:cb:f4:67:ab:2b:45:86:4c:67:a7:7b:
httpd_1 | 6f:41:f4:81:74:e2:a5:61:7a:17:e3:c8:b2:3a:1c:
httpd_1 | cc:6b:c8:60:58:2a:cd:c8:af:dd:77:1d:95:e3:73:
httpd_1 | 5f:1b
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:FALSE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | E0:D0:9C:36:D4:6A:15:9C:64:D4:87:23:78:A0:EF:B1:E4:6D:E9:98
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:3A:84:51:FF:49:4B:BF:D5:37:AB:52:19:0C:32:59:0C:93:DA:F9:07
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/[email protected]/dnQualifier=OoRR/0lLv9U3q1IZDDJZDJPa+Qc=
httpd_1 | serial:13:6E:92:5C:38:4D:99:5F:F9:6D:60:43:9E:48:77:D2:09:F2:C6:C4
httpd_1 |
httpd_1 | X509v3 Extended Key Usage:
httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:php.loc, DNS:*.php.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | 9a:6b:f9:6b:85:ca:a5:04:67:2f:42:03:93:8f:f4:28:05:e9:
httpd_1 | 54:35:fa:0b:4f:8d:86:f8:52:2c:1a:9b:b7:ce:62:3e:e6:1b:
httpd_1 | b1:cb:e9:3b:3c:e0:0f:c4:f2:1a:1d:4e:40:fc:aa:e5:33:0b:
httpd_1 | 0a:b4:71:0a:6a:c5:3a:e9:7f:5d:95:4a:4f:95:dd:9b:8b:84:
httpd_1 | e6:47:23:fa:a8:c4:fd:35:57:80:08:bf:d2:d5:9c:84:70:c6:
httpd_1 | 0e:aa:76:69:89:6f:6d:bc:23:3d:64:e2:98:80:d3:1a:7d:5d:
httpd_1 | 05:39:d5:f1:38:51:cc:e1:06:8e:40:40:21:e3:75:9b:79:66:
httpd_1 | 86:12:5b:68:eb:fd:a6:e1:67:d1:c4:c2:b8:b9:f2:0e:cc:d2:
httpd_1 | b2:24:98:e3:fc:05:75:ae:98:45:35:11:b6:c4:71:23:6c:8e:
httpd_1 | 6b:99:24:d9:20:e8:28:41:d0:c8:f2:a4:20:a1:a7:a3:7a:a0:
httpd_1 | e1:52:c4:80:db:b8:69:9b:5a:0a:19:50:dd:9e:c8:3f:34:c9:
httpd_1 | 95:ca:5d:12:85:f1:5d:c8:eb:02:a0:82:2b:05:ec:c8:5b:ca:
httpd_1 | ea:59:cd:d1:b5:da:15:c1:4b:f0:8d:3f:a9:6d:11:d4:0b:04:
httpd_1 | c0:0d:2a:31:e4:5d:f4:6d:50:ab:aa:ee:69:f2:58:f2:36:dd:
httpd_1 | a4:e4:3e:19
httpd_1 | /etc/httpd/cert/mass/php.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/php" -n "php" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/php/.devilbox/" -s -v -m both
httpd_1 | [WARN] override template not found: /shared/httpd/php/.devilbox/nginx.yml
httpd_1 | vhostgen: [2020-09-20 12:43:47] Adding: php.loc
httpd_1 | watcherd: [2020-09-20 12:43:47] [OK] ADD: succeeded: /shared/httpd/php
httpd_1 | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/wp.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=wp.loc/[email protected]' -out /etc/httpd/cert/mass/wp.loc.csr
httpd_1 | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1 | distinguished_name = req_distinguished_name
httpd_1 | x509_extensions = v3_req
httpd_1 |
httpd_1 | [req_distinguished_name]
httpd_1 |
httpd_1 | [ v3_req ]
httpd_1 | basicConstraints = critical, CA:FALSE
httpd_1 | subjectKeyIdentifier = hash
httpd_1 | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1 | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1 | extendedKeyUsage = serverAuth, clientAuth
httpd_1 | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/wp.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/wp.loc.crt
httpd_1 | Certificate:
httpd_1 | Data:
httpd_1 | Version: 3 (0x2)
httpd_1 | Serial Number:
httpd_1 | 5a:38:ba:db:2c:1b:10:59:7d:b4:59:fb:f2:bd:4b:be:3e:29:27:61
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = [email protected], dnQualifier = "OoRR/0lLv9U3q1IZDDJZDJPa+Qc="
httpd_1 | Validity
httpd_1 | Not Before: Sep 20 12:43:47 2020 GMT
httpd_1 | Not After : Dec 24 12:43:47 2022 GMT
httpd_1 | Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = wp.loc, emailAddress = [email protected]
httpd_1 | Subject Public Key Info:
httpd_1 | Public Key Algorithm: rsaEncryption
httpd_1 | RSA Public-Key: (2048 bit)
httpd_1 | Modulus:
httpd_1 | 00:ec:e2:21:e6:94:d2:35:1d:6a:cb:50:df:38:f7:
httpd_1 | 07:9f:7f:1c:f7:e7:03:19:1e:0b:42:58:da:09:e0:
httpd_1 | 46:45:f7:cd:8d:bb:3d:c0:c3:c2:9e:79:80:ec:14:
httpd_1 | fe:82:ca:79:2b:8a:ef:8b:98:f8:cf:ac:ca:32:27:
httpd_1 | 31:c4:5d:37:72:05:07:a1:31:68:84:60:8a:9b:47:
httpd_1 | 75:05:23:7c:0a:72:61:33:7a:93:02:c2:40:62:1e:
httpd_1 | 51:46:fe:3c:97:c2:81:40:29:77:7f:dc:03:14:e7:
httpd_1 | 9c:4d:da:db:21:ca:0e:30:11:20:37:22:ab:bd:e9:
httpd_1 | b1:93:40:51:d9:83:3f:aa:91:af:69:47:9b:e6:06:
httpd_1 | 8a:22:2d:29:9a:dd:b0:d5:24:84:58:71:b2:8f:79:
httpd_1 | 3a:29:37:45:29:d5:82:1e:d8:87:9f:7c:80:07:6d:
httpd_1 | 94:93:93:1f:2d:53:57:30:1b:d9:bb:b2:04:17:bd:
httpd_1 | 3f:1f:77:ff:5d:3b:84:99:48:a3:d4:71:b2:0e:de:
httpd_1 | ae:c2:01:de:23:80:cb:47:ab:ed:76:30:bd:f4:b9:
httpd_1 | 01:d3:3e:07:24:65:9e:b0:7e:bc:42:50:83:6f:ef:
httpd_1 | 4c:96:df:c3:52:3a:ca:ef:f7:dd:2a:60:43:92:89:
httpd_1 | b6:27:d9:80:c0:cf:60:01:26:33:3f:7a:a1:73:6a:
httpd_1 | 3a:e7
httpd_1 | Exponent: 65537 (0x10001)
httpd_1 | X509v3 extensions:
httpd_1 | X509v3 Basic Constraints: critical
httpd_1 | CA:FALSE
httpd_1 | X509v3 Subject Key Identifier:
httpd_1 | A6:4B:E1:B3:ED:E0:69:49:22:27:13:D6:E3:4C:17:21:C3:4E:6B:3E
httpd_1 | X509v3 Key Usage: critical
httpd_1 | Digital Signature, Key Encipherment
httpd_1 | X509v3 Authority Key Identifier:
httpd_1 | keyid:3A:84:51:FF:49:4B:BF:D5:37:AB:52:19:0C:32:59:0C:93:DA:F9:07
httpd_1 | DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/[email protected]/dnQualifier=OoRR/0lLv9U3q1IZDDJZDJPa+Qc=
httpd_1 | serial:13:6E:92:5C:38:4D:99:5F:F9:6D:60:43:9E:48:77:D2:09:F2:C6:C4
httpd_1 |
httpd_1 | X509v3 Extended Key Usage:
httpd_1 | TLS Web Server Authentication, TLS Web Client Authentication
httpd_1 | X509v3 Subject Alternative Name:
httpd_1 | DNS:wp.loc, DNS:*.wp.loc
httpd_1 | Signature Algorithm: sha256WithRSAEncryption
httpd_1 | aa:db:58:51:6b:06:e5:c7:d1:e4:05:53:22:f7:e5:6e:8a:74:
httpd_1 | 06:37:2f:7d:b5:ea:e7:8b:f9:ff:6f:45:cd:7e:fe:bf:61:61:
httpd_1 | b9:1e:0b:44:82:03:a0:84:6a:37:76:60:bc:fe:4d:a0:e3:67:
httpd_1 | d8:03:4e:d9:74:a4:d8:c0:4b:62:0d:ed:d0:1c:5c:5a:a1:b6:
httpd_1 | dc:55:52:7b:b3:26:06:97:64:5c:02:2a:92:3d:9e:7b:42:c2:
httpd_1 | a6:a8:85:b0:cf:e6:61:d3:1f:ed:50:1b:b6:fe:8d:f5:fd:02:
httpd_1 | 5c:db:ca:f2:99:02:67:56:8d:27:85:f2:5a:cd:c9:ea:89:a4:
httpd_1 | b3:c6:90:44:c0:f7:54:a4:c1:e9:58:94:a7:b8:44:d4:4c:42:
httpd_1 | 83:d7:fc:ff:df:58:e6:69:97:ce:e4:46:5d:ef:65:05:b1:ba:
httpd_1 | 7b:0a:85:73:5d:62:1a:38:cf:7d:85:af:de:cb:fd:74:30:02:
httpd_1 | 80:c7:bb:16:45:9b:f9:19:27:b9:9f:e3:77:5d:98:64:54:93:
httpd_1 | fc:da:ec:19:71:cc:1f:47:48:78:7a:82:86:44:55:d1:58:32:
httpd_1 | dc:3e:14:a2:cd:da:d7:4b:e6:5c:9b:4a:09:49:5e:12:d9:f2:
httpd_1 | e1:e1:7a:47:9a:2f:29:0c:24:14:3e:52:2e:e0:20:2a:ca:25:
httpd_1 | af:f1:ae:d4
httpd_1 | /etc/httpd/cert/mass/wp.loc.crt: OK
httpd_1 | $ vhost_gen.py -p "/shared/httpd/wp" -n "wp" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/wp/.devilbox/" -s -v -m both
httpd_1 | [WARN] override template not found: /shared/httpd/wp/.devilbox/nginx.yml
httpd_1 | vhostgen: [2020-09-20 12:43:47] Adding: wp.loc
httpd_1 | watcherd: [2020-09-20 12:43:47] [OK] ADD: succeeded: /shared/httpd/wp
httpd_1 | 2020/09/20 12:43:47 [notice] 320#320: signal process started
httpd_1 | watcherd: [2020-09-20 12:43:47] [OK] TRIGGER succeeded: nginx -s stop
httpd_1 | watcherd: [2020-09-20 12:43:47] Using bash loop to watch for changes.
httpd_1 | 2020-09-20 12:43:47,713 INFO exited: httpd (exit status 0; expected)
httpd_1 | 2020-09-20 12:43:48,716 INFO spawned: 'httpd' with pid 337
httpd_1 | 2020-09-20 12:43:49,717 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment