summaryrefslogtreecommitdiffstats
path: root/examples/remoteobjects/ssl/sslserver/main.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-03-23 12:37:52 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2021-03-23 18:11:35 +0100
commitf8ef7d99819580a504abb15bb21146e584feebab (patch)
tree68f673c1f328945e54f19cf3000b2a76fa6ba638 /examples/remoteobjects/ssl/sslserver/main.cpp
parent7366ff6f52e2e58ee477c5b25a2dbcda719343de (diff)
Remove old instructions for generating tls certificates
Amends b03bf04c19d4d9b81f92bd9a30ee7d26317a7315 Change-Id: Ib7fbd69cf8f426f341b4a14c7be4d632ab30e6c1 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'examples/remoteobjects/ssl/sslserver/main.cpp')
-rw-r--r--examples/remoteobjects/ssl/sslserver/main.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/remoteobjects/ssl/sslserver/main.cpp b/examples/remoteobjects/ssl/sslserver/main.cpp
index 73ec70e..fac2584 100644
--- a/examples/remoteobjects/ssl/sslserver/main.cpp
+++ b/examples/remoteobjects/ssl/sslserver/main.cpp
@@ -90,21 +90,6 @@ BOOL WINAPI WinHandler(DWORD CEvent)
}
#endif
-/*
- To generate certificates you can use the following commands:
-
-openssl genrsa -out rootCA.key 2048
-openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1825 -out rootCA.pem -subj "/C=US/ST=Oregon/L=Portland"
-
-openssl genrsa -out client.key 2048
-openssl req -new -key client.key -out client.csr -subj "/C=US/ST=Oregon/L=Portland/CN=127.0.0.1"
-openssl x509 -req -in client.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out client.crt -days 1825 -sha256
-
-openssl genrsa -out server.key 2048
-openssl req -new -key server.key -out server.csr -subj "/C=US/ST=Oregon/L=Salem/CN=127.0.0.1"
-openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 1825 -sha256
-*/
-
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);