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

ca-certificate-java for Alpine linux? #3

Open
ehudkaldor opened this issue Jan 6, 2016 · 5 comments
Open

ca-certificate-java for Alpine linux? #3

ehudkaldor opened this issue Jan 6, 2016 · 5 comments

Comments

@ehudkaldor
Copy link

hi,
i saw a comment you put in github, saying you will package ca-certificate-java for Alpine. is it done yet? i cannot find it in Alpine packages, and it is blocking me from running TypeSafe Activator on Alpine.

@itoffshore
Copy link
Owner

My edge build environment does not have an openjdk - the simplest solution is to just manually unpack the Debian package

@ehudkaldor
Copy link
Author

I am not such a Linux expert, but it seems unpacking it is not enough. But
the scripts in control are Debian centric, using dpkg and such. Any advice?

On Wed, Jan 6, 2016, 13:11 Stuart Cardall [email protected] wrote:

My edge build environment does not have an openjdk - the simplest
solution is to just manually unpack the Debian package
https://packages.debian.org/sid/all/ca-certificates-java/download


Reply to this email directly or view it on GitHub
#3 (comment)
.

@itoffshore
Copy link
Owner

Download the deb file & unpack it with xarchiver - then unpack data.tar.xz within the archive to give you:

/etc/ca-certificates/update.d/jks-keystore
/etc/default/cacerts
/usr/share/ca-certificates-java/ca-certificates-java.jar
/usr/share/doc/ca-certificates-java/NEWS.Debian.gz
/usr/share/doc/ca-certificates-java/README.Debian
/usr/share/doc/ca-certificates-java/changelog.gz
/usr/share/doc/ca-certificates-java/copyright

Alpine has the same /etc/ca-certificates/update.d file structure.

Let me know if it works for you.

@Risto-Stevcev
Copy link

Alpine 3.3.2 introduces the java-cacerts package. You might need to symlink the cacerts from ssl, so you can now just do:

$ apk add java-cacerts
$ rm /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts
$ ln -s /etc/ssl/certs/java/cacerts /usr/lib/jvm/java-1.7-openjdk/jre/lib/security/cacerts

http://alpinelinux.org/posts/Alpine-3.3.2-released.html

@itoffshore
Copy link
Owner

Many thanks for letting me know.

java-cacerts is a dependency now of openjdk8

I just noticed elasticsearch is available too (needed for the WAF in nginx-naxsi).

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

3 participants