in reply to Re^13: Unable to enable SSL on Dancer2 application in my windows platform.
in thread Unable to enable SSL on Dancer2 application in my windows platform.
Having read line 1031 of IO::Socket::SSL (have you?) I would say not expected.
But I tried it on my Macbook and got the same result. Unfortunately I have not used this module directly nor do I know much about SSL, so I can't help. Keep at it though, you'll get there!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^15: Unable to enable SSL on Dancer2 application in my windows platform.
by chandantul (Scribe) on May 06, 2021 at 01:58 UTC | |
Hello Smart monks, Did you enable SSL on the app by Self signed certificate for the Dancer2 Apps? If its so, please provide me the steps. I have created Self-signed certificate and imported the same in my Java keystore and defined them in the command as per the required parameters but its still giving error.
Have created SSL testing tools but its giving "No Socket" error
Its giving below but not able to find the exact error after DABUG3
Please help if its possible. | [reply] [d/l] [select] |
by afoken (Chancellor) on May 06, 2021 at 11:12 UTC | |
Have created SSL testing tools but its giving "No Socket" error Did you actually read the code?
"no socket yet" is not an error message. If it was, processing would abort, either by returning an error value or by die()ing. It is a diagnostic message to get a clue about which code is currently executing. Line 1031 was executed, now look what happens next: call the accept() method of the parent class, and either return (on error) or continue. accept() may block, given no output at all, and your program appears to hang. According to what you posted so far, that does not happen, so you should get the next diagnostic message from line 1033 ("accept created normal socket"). You did not post that line, so my guess is that $self->SUPER::accept($class) returned a false value and || return; in line 1032 was executed. So, think about how you got to line 1031 and why $self->SUPER::accept($class) returned a false value. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-) | [reply] [d/l] [select] |
by chandantul (Scribe) on May 06, 2021 at 13:08 UTC | |
Thanks Alaxander, Please check below code that i have written for testing SSL
Please check below output.is this indicating my Self-Signed certificate is not working?
| [reply] [d/l] [select] |