Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.1
-
None
-
Ubuntu 12.04
Description
I edited FortuneServer example to QSslSocket. For this I created an open ssl certifiacte with the following shell command:
openssl req -new -x509 -days 365 -nodes -out certificate.pem -keyout certificate.pem -config ssl_config.cfg
ss_config.cfg file:
[ req ] default_bits = 1024 distinguished_name = req_DN string_mask = nombstr [ req_DN ] countryName = DE countryName_default = DE countryName_min = 2 countryName_max = 2 stateOrProvinceName = "Germany" stateOrProvinceName_default = "Germany" localityName = "Berlin" localityName_default = "Berlin" 0.organizationName = "MyCompany" 0.organizationName_default = "MyCompany" organizationalUnitName = "All" organizationalUnitName_default = "All" commonName = "Hans" commonName_max = 64 commonName_default = "Hans" emailAddress = "my_name@google.com" emailAddress_max = 40 emailAddress_default = "my_name@google.com"
I also attached my fortune server project. The problem is by using threaded fortune server with browser firefox that the server crashs after a random number of requests from browser.
port: 51600