diff options
Diffstat (limited to 'examples/remoteobjects/ssl/sslserver/main.cpp')
-rw-r--r-- | examples/remoteobjects/ssl/sslserver/main.cpp | 15 |
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); |