Closed GoogleCodeExporter closed 9 years ago
Additionally I have copied libeay32.dll and ssleay32.dll in my bin location ,
but still face that issue.
Awaiting for your response..
Thanks
Original comment by asharud...@gmail.com
on 16 Oct 2010 at 11:35
Your certificate file appears to be invalid.
Original comment by valenok
on 16 Oct 2010 at 12:09
hi, Thanks for your response.
Pls note, I have used this certificate for other purposes. It seems to be work
without any issue..
here. the following function is also success with that certificate file,
if (CTX != NULL && SSL_CTX_use_certificate_file(
CTX, pem, SSL_FILETYPE_PEM) == 0)
Only the SSL_CTX_use_PrivateKey_file function get failed.
any way to check this ..?? how to confirm my certificate file is wrong. Or any
default certificate I can check with that..??
thanks
Original comment by asharud...@gmail.com
on 16 Oct 2010 at 12:24
Additionally, I have set the preprocessor as 'NO_CGI' and 'NO_SSI'. Not sure,
whether these settings affect the ssl connection. Previously (nearly 2 months
ago) ssl connection works in mongoose with the same ssl certificate file
without any issue. Not sure what could be the issue.
Thanks..
Original comment by asharud...@gmail.com
on 18 Oct 2010 at 12:00
hi,,
I have created a new certificate file by following the steps from
(http://www.devx.com/opensource/Article/20085/1763/page/2) and still face the
same issue..
Any thoughts..??
Original comment by asharud...@gmail.com
on 19 Oct 2010 at 6:45
hi
I had similar problems with a self signed certificate.
I don't really know how everything works but here are two things that made me
solve the problem:
- remove the pass phrase form the key as mentioned here http://support.kerio.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=508
- create the .pem file from the merge of the .key and the .crt files as mentioned here http://www.digicert.com/ssl-support/pem-ssl-creation.htm
Hope it helps !
and many thanks for creating mongoose which seems to be really great.
Original comment by francis....@gmail.com
on 20 Oct 2010 at 7:05
hi,
Thanks for your reply.
I have followed the instructions from
http://stackoverflow.com/questions/991758/openssl-pem-key link and make ssl
work..
I have another query...
Currently if SSL is enabled both the http and https ports are in listen state.
But now, I want to only allow https connections. Is there a option in mongoose
to redirect the http requests to https port. so that a requst come to
http://machineName:5555 will redirect to https://machineName:5556
In future if any issue in SSL connection, I can simply comment out the
redirection such that the default http request will work.
Is there any way..??
Thanks for your replies..
Original comment by asharud...@gmail.com
on 21 Oct 2010 at 7:28
Start two mongoose processes. For non-https, create an index.html page like
this:
<html>
<META HTTP-EQUIV="Refresh" content= "0;URL=https://.....">
</html>
Original comment by valenok
on 29 Nov 2010 at 1:20
Thanks, I will try.
Original comment by asharud...@gmail.com
on 29 Nov 2010 at 5:24
Original issue reported on code.google.com by
asharud...@gmail.com
on 16 Oct 2010 at 11:34