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

[Docs] Docs updated for libsunec.so for linux when building a native-image supporting https (security related builds) #1604

Conversation

neomatrix369
Copy link
Contributor

@neomatrix369 neomatrix369 commented Aug 11, 2019

substrateVM: Adding clarification about supplying libsunec.so for Linux with the native-image in the respective security docs for clarity

From previous attempts, it is found that only when GraalVM's version of libsunec.so for Linux is used, does the native image app run otherwise it silently fails, see issues #1600 and #1034.

#768, #1336 and #1165 are related and may also help.

Happy for the texts in both the markdown files to be reworded as long as it helps everyone.

…ux with the native-image in the respective security docs for clarity
…f libsunec.{so|dylib}, and adding alternative solutions and clarity to the step
@neomatrix369
Copy link
Contributor Author

neomatrix369 commented Aug 13, 2019

I corrected my previous commit as later on I found out using both GraalVM's version of libsunec.{so|dylib} and that of any other JDK implementation have small differences, in order for the later version to work, we need to also bundle cacerts. Happy to be proven wrong, but with the use-cases I have tried, under both Linux and MacOS - this has been my experience and observation. Especially when using the HTTPS protocol and using the --enable-XXXXXX security-related flags with native-image.

I can help reproduce this if necessary.

@cstancu cstancu self-assigned this Aug 13, 2019
@neomatrix369 neomatrix369 changed the title Docs updated for libsunec.so for linux when building a native-image supporting https (security related builds) [Docs] Docs updated for libsunec.so for linux when building a native-image supporting https (security related builds) Aug 13, 2019
@cstancu
Copy link
Member

cstancu commented Oct 13, 2020

libsunec is not statically linked in the image.

@cstancu cstancu closed this Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants