Skip to content
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

Fail to generate a KeyPair with the given options #25

Closed
XavegX367 opened this issue Nov 9, 2022 · 4 comments
Closed

Fail to generate a KeyPair with the given options #25

XavegX367 opened this issue Nov 9, 2022 · 4 comments

Comments

@XavegX367
Copy link

XavegX367 commented Nov 9, 2022

Hello, I tried running the php artisan command but it returns the following error:

error

I saw the other thread with this error that was resolved by installing OpenSSL. I have got it enabled and php says it is enabled with a path to a openssl.cnf. The thing is that the path doesn't actually exist.

openssl

I don't know if that is why the command doesn't work? I am very new with certificates...

@Daanra Daanra changed the title Fail to generate a KeyPar with the given options Fail to generate a KeyPair with the given options Nov 9, 2022
@Daanra
Copy link
Owner

Daanra commented Nov 9, 2022

Yes, this is probably due to the OpenSSL library not being properly installed.

I'm afraid I can't help you with its installation as I have little knowledge about the Windows architecture.

But, are you hosting your domain from this Windows computer? The command should be run from the server that hosts the domain. So if you're actually hosting the domain on some Linux architecture, then you might have better luck with the OpenSSL installation.

@XavegX367
Copy link
Author

Okay, so it indeed is hosted on a Windows Server and I didn't configure anything for OpenSSL, atleast that I am aware of...

@XavegX367
Copy link
Author

I am using Laragon, it has a feature to automatically generate SSL certificates for the domains it runs. So is it possible Laragon configured it for me? I would like to change this config since I don't like the generated SSL certificates made by Laragon.

@XavegX367
Copy link
Author

Alright so I fixed it by installing OpenSSL on the whole machine. I downloaded it from here: https://slproweb.com/products/Win32OpenSSL.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants