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

Provide alternative instructions for Mac OS X M-series macs, as PEM cert can't be imported #12

Open
truedat101 opened this issue Sep 24, 2024 · 3 comments

Comments

@truedat101
Copy link

To reproduce: cro run

πŸ”Œ Endpoint HTTPS will be at https://localhost:20000/
⚠ examples Failed to import resources/fake-tls/server-crt.pem as PEM/ASN1/PKCS12
⚠ examples   in block  at /Users/dkords/.rakubrew/versions/moar-2024.08/share/perl6/site/sources/3A5FFF87F3424F4E05A81A4FC87112BF66F4CA43 (IO::Socket::Async::SSL) line 522
⚠ examples   in block  at /Users/dkords/.rakubrew/versions/moar-2024.08/share/perl6/site/sources/3A5FFF87F3424F4E05A81A4FC87112BF66F4CA43 (IO::Socket::Async::SSL) line 501
⚠ examples   in method start at /Users/dkords/.rakubrew/versions/moar-2024.08/share/perl6/site/sources/D44076D0A385A3A9EB7D72A86CA729FD99EE59B7 (Cro::Service) line 12
⚠ examples   in block <unit> at service.raku line 22
⚠ examples
πŸ““ examples Listening at https://localhost:20000

See croservices/cro-http#194

@truedat101
Copy link
Author

The referenced issue provides a workaround.

@librasteve
Copy link
Owner

@truedat101 - thanks for the connection, I had lost track of the workaround - will leave this Issues open as reference until someone fixes the croservices code

@truedat101
Copy link
Author

I actually didn't quite understand why the failure occurs on apple silicon macs. And this isn't specific to your project so to be clear. When generating the stubs this workaround needs to be run.

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