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

brew install doesn't include https support by default #46

Closed
yschimke opened this issue Nov 29, 2020 · 4 comments
Closed

brew install doesn't include https support by default #46

yschimke opened this issue Nov 29, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@yschimke
Copy link

yschimke commented Nov 29, 2020

Would it be possible to build with HTTPS support enabled?

$  rsc wss://rsocket-demo.herokuapp.com/rsocket
WARNING: The sunec native library, required by the SunEC provider, could not be loaded. This library is usually shipped as part of the JDK and can be found under <JAVA_HOME>/jre/lib/<platform>/libsunec.so. It is loaded at run time via System.loadLibrary("sunec"), the first time services from SunEC are accessed. To use this provider's services the java.library.path system property needs to be set accordingly to point to a location that contains libsunec.so. Note that if java.library.path is not set it defaults to the current working directory.
Error: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Use --stacktrace option for details.
@making
Copy link
Owner

making commented Nov 29, 2020

Is JAVA_HOME configured?
https://github.com/making/rsc#example-usages

@yschimke
Copy link
Author

I missed that. Any reason you don't just enable that in the nativeImage build?

@yschimke yschimke changed the title brew install doesn't include https support brew install doesn't include https support by default Nov 29, 2020
@making
Copy link
Owner

making commented Nov 29, 2020

When I investigate to support tls, i could not find the way to do it out of the box.

When I support the latest GraalVM, it could be resolved.
I have not yet successfully upgraded it and don't have much time to dig into it at this moment.

If you are familiar with that, any help would be appreciated :)

@making making added the enhancement New feature or request label Nov 29, 2020
@yschimke
Copy link
Author

Not urgent for me, plus I have another rsocket cli to maintain, so will leave on the icebox.

The build for rsocket-cli includes this support if it's worth taking snippets out of
https://github.com/rsocket/rsocket-cli/blob/master/build.gradle.kts

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

No branches or pull requests

2 participants