-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenSSL problem on Windows #48
Comments
I think the better solution is using openssl_pkey_new function. |
Can this, by any chance, be causing the Issue I just opened? I had the same openssl problem when installing Passport, so I downloaded the zip from openssl website, then extracted (only) openssl.exe and included it in the environment path. This made the installation work, but I'm having the mentioned issue. It's the only thing I made different from Taylor on the Laracast video, this is why I wonder if the two problems are related... |
also, @gbdematos please make sure that ./storage/oauth-private.key and ./storage/oauth-public.key exist |
@nueko tried with Git Bash, unsuccessful. I also deleted openssl.exe and tried again (because the command works on Git Bash without openssl installed), the problem persists... :( Both oauth-private and oauth-public keys are correctly placed. When I paste the generated Personal Token on jwt.io, even without pasting the oAuth keys to verify the signature, I see that "exp" value is 0 (zero). I think the problem is related to this... because when validating, it goes through all the values in the Token: aud, jti, iat, nbf, exp and sub... I have no idea what any of those mean, but I saw that the only "false" return is from the "exp" validation. |
|
At some point in the new future |
Also installing win32/64 bin file from: https://slproweb.com/products/Win32OpenSSL.html and add to Environment Variable Path directory solve the problem. |
I ended up downloading the binaries from http://gnuwin32.sourceforge.net/packages/openssl.htm and then only copied over the openssl.exe file and placed it in my php route directory which resolved the issue |
FWIW I was able to solve this by using Git Bash in the directory. Oh the joys of development on windows! |
Pull request that solves this here #72 |
Hi, I found this
'openssl' is not recognized as an internal or external command, operable program or batch file.
when running
on Windows without openssl installed.
The text was updated successfully, but these errors were encountered: