-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Self Signed SSL error #5084
Comments
weird. FWIW It's working for me on macOS (11.4). I haven't installed OpenSSL manually. Using whatever comes with the system. I don't remember having to install anything on Windows. What made you install |
I don't know if it can be of any help, I had a similar issue in networked-aframe/naf-janus-adapter#27 |
pem is a dependency of budo, the live server aframe use with pem 1.15.0 has a "Support OPENSSL v3.0.0 & more" entry in the changelog If you remove your package-lock.json node_modules and npm install, or run npm upgrade, to get the latest pem version, does it fix your issue? |
The issue is tracked in Dexus/pem#316 |
@vincentfretin Thanks so much for the info. At what level we should fix this? |
Yes |
Thanks, no plans to replace build system for now. We can perhaps figure out a more surgical solution |
I see there's a fix for An option would be fork
|
On Windows 10, after installing the latest OpenSSL v3,
npm run start:https
resulted in this error:Basically the output text from OpenSSL seems to have changed, hence the self signed cert cannot be parsed. A quick hackish fix for this is a one line change to
node_modules/pem/lib/pem.js
, line 77:FROM:
openssl.exec(params, 'RSA PRIVATE KEY', function (sslErr, key) {
TO:
openssl.exec(params, 'PRIVATE KEY', function (sslErr, key) {
After that, it starts right up and is useable on my VR Headset now that it has SSL in place for WebXR.
Hopefully this saves someone else some time too! :)
The text was updated successfully, but these errors were encountered: