Skip to content

Commit bc9a3c8

Browse files
committed
change cn to pubsub, allow self signed certs
1 parent 795a0e3 commit bc9a3c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /app/server/certs
1818
RUN openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 && \
1919
openssl rsa -passin pass:x -in server.pass.key -out server.key && \
2020
rm server.pass.key && \
21-
openssl req -new -key server.key -out server.csr -subj "/C=NL/ST=Overijssel/L=Enschede/O=PDSInterop/OU=PDSInterop/CN=solid.pdsinterop.org" && \
21+
openssl req -new -key server.key -out server.csr -subj "/C=NL/ST=Overijssel/L=Enschede/O=PDSInterop/OU=PDSInterop/CN=pubsub" && \
2222
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
2323

2424
# Create a custom user with UID 1234 and GID 1234

server/server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function createServer() {
150150
'local_pk' => 'certs/server.key',
151151
'verify_peer' => false, // if false, accept SSL handshake without client certificate
152152
'verify_peer_name' => false,
153-
'allow_self_signed' => false,
153+
'allow_self_signed' => true,
154154
]]);
155155

156156
$server

0 commit comments

Comments
 (0)