My nextcloud instance answers on an url nextcloud.xxx.eu and I want it accessible from a second url nextcloud.yyy.fr.
I set up my DNS record and apache2 with two separate configuration files and set up two different SSL certificates with let’s encrypt. Finally I added the trusted domain to the nc’s config.php file. The access to my instance through nextcloud.yyy.fr seem to work since I can connect and log into my instance.
But whenever I log, everything freeze within a few seconds, included my other websites hosted on the same webserver. If I don’t log, it rolls as always.
I check the apache2 and nextcloud log and find nothing particular: I tried to log at 15:40. this comes multiple times in the nextcloud error log when i connect through the second url:
[Tue Feb 07 15:41:37.904207 2023] [ssl:info] [pid 241716] AH01914: Configuring server nextcloud.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.904651 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key nextcloud.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
Tue Feb 07 15:41:37.903612 2023] [ssl:info] [pid xxx] AH01914: Configuring server nextcloud.yyy.fr:443 for SSL protocol
[Tue Feb 07 15:41:37.904027 2023] [ssl:info] [pid xxx] AH02568: Certificate and private key nextcloud.yyy.fr:443:0 configured from /etc/letsencrypt/live/nextcloud.yyy.fr/fullchain.pem and /etc/letsencrypt/live/nextcloud.yyy.fr/privkey.pem
In the apache2 error.log has more ssl related stuff
[Tue Feb 07 15:40:01.998212 2023] [ssl:info] [pid 237155] [client 192.168.1.254:40418] AH01964: Connection to child 10 established (server xxx.eu:443)
[Tue Feb 07 15:40:08.110423 2023] [ssl:info] [pid 212696] (70014)End of file found: [client 192.168.1.254:43268] AH01991: SSL input filter read failed.
[Tue Feb 07 15:40:08.172224 2023] [ssl:info] [pid 190739] [client 192.168.1.254:40428] AH01964: Connection to child 18 established (server xxx.eu:443)
[Tue Feb 07 15:40:08.187942 2023] [ssl:info] [pid 234714] [client 192.168.1.254:40442] AH01964: Connection to child 0 established (server xxx.eu:443)
[Tue Feb 07 15:40:08.239034 2023] [ssl:info] [pid 235238] [client 192.168.1.254:40444] AH01964: Connection to child 1 established (server xxx.eu:443)
[Tue Feb 07 15:40:14.702422 2023] [ssl:info] [pid 212746] [client 192.168.1.254:47044] AH01964: Connection to child 2 established (server xxx.eu:443)
[Tue Feb 07 15:40:15.972450 2023] [ssl:info] [pid 213263] [client 192.168.1.254:47048] AH01964: Connection to child 7 established (server xxx.eu:443)
[Tue Feb 07 15:40:17.690521 2023] [ssl:info] [pid 237155] [client 192.168.1.254:47062] AH01964: Connection to child 10 established (server xxx.eu:443)
[Tue Feb 07 15:40:23.652464 2023] [ssl:info] [pid 212696] [client 192.168.1.254:47070] AH01964: Connection to child 9 established (server xxx.eu:443)
[Tue Feb 07 15:40:23.988985 2023] [ssl:info] [pid 241568] [client 192.168.1.254:47082] AH01964: Connection to child 11 established (server xxx.eu:443)
[Tue Feb 07 15:40:26.677718 2023] [ssl:info] [pid 241571] [client 192.168.1.254:48510] AH01964: Connection to child 12 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.077269 2023] [ssl:info] [pid 241573] [client 192.168.1.254:48514] AH01964: Connection to child 13 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.772837 2023] [ssl:info] [pid 241574] [client 192.168.1.254:34238] AH01964: Connection to child 15 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.816033 2023] [ssl:info] [pid 241578] [client 192.168.1.254:34246] AH01964: Connection to child 16 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.882465 2023] [ssl:info] [pid 241580] [client 192.168.1.254:48528] AH01964: Connection to child 17 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.882723 2023] [ssl:info] [pid 241582] [client 192.168.1.254:48534] AH01964: Connection to child 19 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.884272 2023] [ssl:info] [pid 241583] [client 192.168.1.254:48546] AH01964: Connection to child 20 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.884514 2023] [ssl:info] [pid 190739] [client 192.168.1.254:48556] AH01964: Connection to child 18 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.887501 2023] [ssl:info] [pid 234714] [client 192.168.1.254:34254] AH01964: Connection to child 0 established (server xxx.eu:443)
[Tue Feb 07 15:40:28.889226 2023] [ssl:info] [pid 235238] [client 192.168.1.254:48572] AH01964: Connection to child 1 established (server xxx.eu:443)
[Tue Feb 07 15:40:29.920998 2023] [mpm_prefork:info] [pid 651] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 4 idle, and 25 total children
[Tue Feb 07 15:40:31.089209 2023] [ssl:info] [pid 241594] [client 192.168.1.254:34248] AH01964: Connection to child 22 established (server xxx.eu:443)
[Tue Feb 07 15:40:33.998976 2023] [ssl:info] [pid 241599] [client 192.168.1.254:48576] AH01964: Connection to child 24 established (server xxx.eu:443)
[Tue Feb 07 15:40:43.522155 2023] [ssl:info] [pid 241604] [client 192.168.1.254:37722] AH01964: Connection to child 26 established (server xxx.eu:443)
[Tue Feb 07 15:40:45.995304 2023] [ssl:info] [pid 241606] [client 192.168.1.254:48634] AH01964: Connection to child 27 established (server xxx.eu:443)
[Tue Feb 07 15:40:47.718092 2023] [ssl:info] [pid 241609] [client 192.168.1.254:48642] AH01964: Connection to child 28 established (server xxx.eu:443)
[Tue Feb 07 15:40:49.575130 2023] [ssl:info] [pid 241611] [client 192.168.1.254:48644] AH01964: Connection to child 29 established (server xxx.eu:443)
[Tue Feb 07 15:40:53.470441 2023] [ssl:info] [pid 241613] [client 192.168.1.254:48652] AH01964: Connection to child 30 established (server xxx.eu:443)
[Tue Feb 07 15:40:59.135627 2023] [ssl:info] [pid 241615] [client 192.168.1.254:34292] AH01964: Connection to child 31 established (server xxx.eu:443)
[Tue Feb 07 15:41:13.857877 2023] [ssl:info] [pid 241617] [client 192.168.1.254:59856] AH01964: Connection to child 32 established (server xxx.eu:443)
[Tue Feb 07 15:41:13.916241 2023] [ssl:info] [pid 213106] [client 192.168.1.254:59860] AH01964: Connection to child 6 established (server xxx.eu:443)
[Tue Feb 07 15:41:16.162159 2023] [ssl:info] [pid 241643] [client 192.168.1.254:59874] AH01964: Connection to child 21 established (server xxx.eu:443)
[Tue Feb 07 15:41:37.838359 2023] [core:info] [pid 651] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=651)
[Tue Feb 07 15:41:37.838393 2023] [mpm_prefork:notice] [pid 651] AH00170: caught SIGWINCH, shutting down gracefully
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
[Tue Feb 07 15:41:37.902438 2023] [ssl:info] [pid 241716] AH01883: Init: Initialized OpenSSL library
[Tue Feb 07 15:41:37.902580 2023] [ssl:info] [pid 241716] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Feb 07 15:41:37.902588 2023] [ssl:info] [pid 241716] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.903391 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/xxx.eu/fullchain.pem and /etc/letsencrypt/live/xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.904823 2023] [ssl:info] [pid 241716] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.905148 2023] [ssl:warn] [pid 241716] AH01906: xxx.eu:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 07 15:41:37.905160 2023] [ssl:warn] [pid 241716] AH01909: xxx.eu:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 07 15:41:37.905163 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/ssl/certs/apache-selfsigned.crt and /etc/ssl/private/apache-selfsigned.key
[Tue Feb 07 15:41:37.905225 2023] [ssl:error] [pid 241716] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / issuer: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / serial: 6702577345611EF068B82F7F1F04F3F6057A88FF / notbefore: Apr 12 13:33:29 2020 GMT / notafter: Apr 12 13:33:29 2021 GMT]
[Tue Feb 07 15:41:37.905230 2023] [ssl:error] [pid 241716] AH02604: Unable to configure certificate xxx.eu:443:0 for stapling
[Tue Feb 07 15:41:37.905232 2023] [ssl:info] [pid 241716] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:41:37.905477 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:41:37.905571 2023] [ssl:info] [pid 241716] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:41:37.905805 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:41:37.906370 2023] [ssl:info] [pid 241716] AH01914: Configuring server othersite.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.906617 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key othersite.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.906722 2023] [ssl:info] [pid 241716] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.907050 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.907182 2023] [ssl:info] [pid 241716] AH01914: Configuring server nextcloud.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.907569 2023] [ssl:info] [pid 241716] AH02568: Certificate and private key nextcloud.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.907736 2023] [ssl:info] [pid 241716] AH01876: mod_ssl/2.4.54 compiled against Server: Apache/2.4.54, Library: OpenSSL/1.1.1n
[Tue Feb 07 15:41:37.921114 2023] [ssl:info] [pid 241721] AH01883: Init: Initialized OpenSSL library
[Tue Feb 07 15:41:37.921173 2023] [socache_shmcb:info] [pid 241721] AH00830: Shared memory socache initialised
[Tue Feb 07 15:41:37.921226 2023] [socache_shmcb:info] [pid 241721] AH00830: Shared memory socache initialised
[Tue Feb 07 15:41:37.921229 2023] [ssl:info] [pid 241721] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Feb 07 15:41:37.921231 2023] [ssl:info] [pid 241721] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.921606 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/xxx.eu/fullchain.pem and /etc/letsencrypt/live/xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.922382 2023] [ssl:info] [pid 241721] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.922542 2023] [ssl:warn] [pid 241721] AH01906: xxx.eu:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 07 15:41:37.922550 2023] [ssl:warn] [pid 241721] AH01909: xxx.eu:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 07 15:41:37.922552 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/ssl/certs/apache-selfsigned.crt and /etc/ssl/private/apache-selfsigned.key
[Tue Feb 07 15:41:37.922602 2023] [ssl:error] [pid 241721] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / issuer: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / serial: 6702577345611EF068B82F7F1F04F3F6057A88FF / notbefore: Apr 12 13:33:29 2020 GMT / notafter: Apr 12 13:33:29 2021 GMT]
[Tue Feb 07 15:41:37.922606 2023] [ssl:error] [pid 241721] AH02604: Unable to configure certificate xxx.eu:443:0 for stapling
[Tue Feb 07 15:41:37.922608 2023] [ssl:info] [pid 241721] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:41:37.922817 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:41:37.922902 2023] [ssl:info] [pid 241721] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:41:37.923128 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:41:37.923519 2023] [ssl:info] [pid 241721] AH01914: Configuring server othersite.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.923730 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key othersite.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.923818 2023] [ssl:info] [pid 241721] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.924060 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.924140 2023] [ssl:info] [pid 241721] AH01914: Configuring server nextcloud.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:41:37.924404 2023] [ssl:info] [pid 241721] AH02568: Certificate and private key nextcloud.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:41:37.924489 2023] [ssl:info] [pid 241721] AH01876: mod_ssl/2.4.54 compiled against Server: Apache/2.4.54, Library: OpenSSL/1.1.1n
[Tue Feb 07 15:41:37.924499 2023] [http2:info] [pid 241721] AH03090: mod_http2 (v1.15.28, feats=CHPRIO+SHA256+INVHD+DWINS, nghttp2 1.43.0), initializing...
[Tue Feb 07 15:41:37.924510 2023] [http2:warn] [pid 241721] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Tue Feb 07 15:41:37.952375 2023] [ssl:info] [pid 241722] [client 192.168.1.254:53570] AH01964: Connection to child 0 established (server xxx.eu:443)
[Tue Feb 07 15:41:37.952391 2023] [ssl:info] [pid 241723] [client 192.168.1.254:53576] AH01964: Connection to child 1 established (server xxx.eu:443)
[Tue Feb 07 15:41:37.952461 2023] [mpm_prefork:notice] [pid 241721] AH00163: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Feb 07 15:41:37.952474 2023] [mpm_prefork:info] [pid 241721] AH00164: Server built: 2022-06-09T04:26:43
[Tue Feb 07 15:41:37.952485 2023] [core:notice] [pid 241721] AH00094: Command line: '/usr/sbin/apache2'
[Tue Feb 07 15:41:37.952617 2023] [ssl:info] [pid 241725] [client 192.168.1.254:53562] AH01964: Connection to child 2 established (server xxx.eu:443)
[Tue Feb 07 15:41:37.956169 2023] [ssl:info] [pid 241728] [client 192.168.1.254:53590] AH01964: Connection to child 3 established (server xxx.eu:443)
[Tue Feb 07 15:41:38.002076 2023] [ssl:info] [pid 241730] [client 192.168.1.254:42356] AH01964: Connection to child 4 established (server xxx.eu:443)
[Tue Feb 07 15:41:38.957094 2023] [ssl:info] [pid 241734] [client 192.168.1.254:42370] AH01964: Connection to child 5 established (server xxx.eu:443)
[Tue Feb 07 15:41:40.725641 2023] [ssl:info] [pid 241737] [client 192.168.1.254:42380] AH01964: Connection to child 6 established (server xxx.eu:443)
[Tue Feb 07 15:41:40.831139 2023] [ssl:info] [pid 241738] [client 192.168.1.254:42382] AH01964: Connection to child 7 established (server xxx.eu:443)
[Tue Feb 07 15:41:41.968234 2023] [mpm_prefork:info] [pid 241721] AH00162: server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 4 idle, and 12 total children
[Tue Feb 07 15:41:44.480774 2023] [ssl:info] [pid 241745] [client 192.168.1.254:45786] AH01964: Connection to child 10 established (server xxx.eu:443)
[Tue Feb 07 15:41:44.735858 2023] [ssl:info] [pid 241748] [client 192.168.1.254:55154] AH01964: Connection to child 11 established (server xxx.eu:443)
[Tue Feb 07 15:41:45.755460 2023] [ssl:info] [pid 241751] [client 192.168.1.254:55164] AH01964: Connection to child 12 established (server xxx.eu:443)
[Tue Feb 07 15:41:48.740627 2023] [ssl:info] [pid 241752] [client 192.168.1.254:55172] AH01964: Connection to child 13 established (server xxx.eu:443)
[Tue Feb 07 15:42:22.991512 2023] [ssl:info] [pid 241754] [client 192.168.1.254:50276] AH01964: Connection to child 14 established (server xxx.eu:443)
[Tue Feb 07 15:42:22.996741 2023] [ssl:info] [pid 241757] [client 192.168.1.254:50308] AH01964: Connection to child 15 established (server xxx.eu:443)
[Tue Feb 07 15:42:22.998539 2023] [ssl:info] [pid 241758] [client 192.168.1.254:50304] AH01964: Connection to child 16 established (server xxx.eu:443)
[Tue Feb 07 15:42:22.998580 2023] [ssl:info] [pid 241761] [client 192.168.1.254:50288] AH01964: Connection to child 17 established (server xxx.eu:443)
[Tue Feb 07 15:42:29.494994 2023] [ssl:info] [pid 241762] [client 192.168.1.254:50324] AH01964: Connection to child 18 established (server xxx.eu:443)
[Tue Feb 07 15:43:08.001087 2023] [ssl:info] [pid 241788] [client 192.168.1.254:37560] AH01964: Connection to child 8 established (server xxx.eu:443)
[Tue Feb 07 15:43:08.002525 2023] [ssl:info] [pid 241790] [client 192.168.1.254:37570] AH01964: Connection to child 9 established (server xxx.eu:443)
[Tue Feb 07 15:43:08.008790 2023] [ssl:info] [pid 241791] [client 192.168.1.254:37588] AH01964: Connection to child 20 established (server xxx.eu:443)
[Tue Feb 07 15:43:08.009270 2023] [ssl:info] [pid 241797] [client 192.168.1.254:37584] AH01964: Connection to child 21 established (server xxx.eu:443)
[Tue Feb 07 15:43:10.879457 2023] [ssl:info] [pid 241765] [client 192.168.1.254:35342] AH01964: Connection to child 19 established (server xxx.eu:443)
[Tue Feb 07 15:43:20.585875 2023] [core:info] [pid 241721] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=241721)
[Tue Feb 07 15:43:20.585914 2023] [mpm_prefork:notice] [pid 241721] AH00170: caught SIGWINCH, shutting down gracefully
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
apache2: /build/apr-util-XWZQhO/apr-util-1.6.1/misc/apr_reslist.c:161: reslist_cleanup: Assertion `rl->ntotal == 0' failed.
[Tue Feb 07 15:43:20.644153 2023] [ssl:info] [pid 241837] AH01883: Init: Initialized OpenSSL library
[Tue Feb 07 15:43:20.644241 2023] [ssl:info] [pid 241837] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Feb 07 15:43:20.644246 2023] [ssl:info] [pid 241837] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.644786 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/xxx.eu/fullchain.pem and /etc/letsencrypt/live/xxx.eu/privkey.pem
[Tue Feb 07 15:43:20.645557 2023] [ssl:info] [pid 241837] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.645727 2023] [ssl:warn] [pid 241837] AH01906: xxx.eu:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 07 15:43:20.645735 2023] [ssl:warn] [pid 241837] AH01909: xxx.eu:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 07 15:43:20.645737 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/ssl/certs/apache-selfsigned.crt and /etc/ssl/private/apache-selfsigned.key
[Tue Feb 07 15:43:20.645790 2023] [ssl:error] [pid 241837] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / issuer: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / serial: 6702577345611EF068B82F7F1F04F3F6057A88FF / notbefore: Apr 12 13:33:29 2020 GMT / notafter: Apr 12 13:33:29 2021 GMT]
[Tue Feb 07 15:43:20.645795 2023] [ssl:error] [pid 241837] AH02604: Unable to configure certificate xxx.eu:443:0 for stapling
[Tue Feb 07 15:43:20.645798 2023] [ssl:info] [pid 241837] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:43:20.646026 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:43:20.646127 2023] [ssl:info] [pid 241837] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:43:20.646362 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:43:20.646807 2023] [ssl:info] [pid 241837] AH01914: Configuring server othersite.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.647025 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key othersite.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:43:20.647111 2023] [ssl:info] [pid 241837] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.647336 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:43:20.647422 2023] [ssl:info] [pid 241837] AH01914: Configuring server nextcloud.xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.647650 2023] [ssl:info] [pid 241837] AH02568: Certificate and private key nextcloud.xxx.eu:443:0 configured from /etc/letsencrypt/live/nextcloud.xxx.eu/fullchain.pem and /etc/letsencrypt/live/nextcloud.xxx.eu/privkey.pem
[Tue Feb 07 15:43:20.647741 2023] [ssl:info] [pid 241837] AH01876: mod_ssl/2.4.54 compiled against Server: Apache/2.4.54, Library: OpenSSL/1.1.1n
[Tue Feb 07 15:43:20.661927 2023] [ssl:info] [pid 241841] AH01883: Init: Initialized OpenSSL library
[Tue Feb 07 15:43:20.661994 2023] [socache_shmcb:info] [pid 241841] AH00830: Shared memory socache initialised
[Tue Feb 07 15:43:20.662049 2023] [socache_shmcb:info] [pid 241841] AH00830: Shared memory socache initialised
[Tue Feb 07 15:43:20.662052 2023] [ssl:info] [pid 241841] AH01887: Init: Initializing (virtual) servers for SSL
[Tue Feb 07 15:43:20.662054 2023] [ssl:info] [pid 241841] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.662424 2023] [ssl:info] [pid 241841] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/letsencrypt/live/xxx.eu/fullchain.pem and /etc/letsencrypt/live/xxx.eu/privkey.pem
[Tue Feb 07 15:43:20.663184 2023] [ssl:info] [pid 241841] AH01914: Configuring server xxx.eu:443 for SSL protocol
[Tue Feb 07 15:43:20.663369 2023] [ssl:warn] [pid 241841] AH01906: xxx.eu:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 07 15:43:20.663376 2023] [ssl:warn] [pid 241841] AH01909: xxx.eu:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 07 15:43:20.663379 2023] [ssl:info] [pid 241841] AH02568: Certificate and private key xxx.eu:443:0 configured from /etc/ssl/certs/apache-selfsigned.crt and /etc/ssl/private/apache-selfsigned.key
[Tue Feb 07 15:43:20.663457 2023] [ssl:error] [pid 241841] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / issuer: emailAddress=myemail@email.com,CN=82.248.60.145/nextcloud,OU=MC,O=MC,L=Saint Etienne,ST=Loire,C=EU / serial: 6702577345611EF068B82F7F1F04F3F6057A88FF / notbefore: Apr 12 13:33:29 2020 GMT / notafter: Apr 12 13:33:29 2021 GMT]
[Tue Feb 07 15:43:20.663462 2023] [ssl:error] [pid 241841] AH02604: Unable to configure certificate xxx.eu:443:0 for stapling
[Tue Feb 07 15:43:20.663464 2023] [ssl:info] [pid 241841] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:43:20.663698 2023] [ssl:info] [pid 241841] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:43:20.663789 2023] [ssl:info] [pid 241841] AH01914: Configuring server yyy.fr:443 for SSL protocol
[Tue Feb 07 15:43:20.664013 2023] [ssl:info] [pid 241841] AH02568: Certificate and private key yyy.fr:443:0 configured from /etc/letsencrypt/live/yyy.fr/fullchain.pem and /etc/letsencrypt/live/yyy.fr/privkey.pem
[Tue Feb 07 15:43:20.664451 2023] [ssl:info] [pid 241841] AH01914: Configuring server othersite.xxx.eu:443 for SSL protocol
The number of apache2 subprocesses change from 12 to 35 so I guess the root of evil is apache2.
This is what I try to do first but this solution doesn’t work if we access it through https with simple ssl because it’s not the same domain.
Is somebody sees a solution ?
Thanks
Nextcloud version: 25.0.3
Operating system and version: Debian 5.10.0-21-amd64
Apache 2.4.54-1
PHP version : 8.1.15
PostgreSQL 13.9