Certificate to the Java certificate store
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 151
- Forks
- 183
- Avg merge
- 14m
- Merged PRs (30d)
- 2
Description
Expected behavior
Set up maven with ca-certificates-java by bringing maven certificate to the local java certificate store at '/etc/ssl/certs/java/cacerts'
Never experienced this error before with the docker build.
Thank you in advance!!
Actual behavior
Setting up ca-certificates-java (20190405) ...
59.29 head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
59.53 Exception in thread "main" java.lang.InternalError: Error loading java.security file
59.53 at java.base/java.security.Security.initialize(Security.java:94)
59.53 at java.base/java.security.Security$1.run(Security.java:79)
59.53 at java.base/java.security.Security$1.run(Security.java:77)
59.53 at java.base/java.security.AccessController.doPrivileged(Native Method)
59.53 at java.base/java.security.Security.(Security.java:77)
59.53 at java.base/sun.security.jca.ProviderList.(ProviderList.java:176)
59.53 at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:94)
59.53 at java.base/sun.security.jca.ProviderList$2.run(ProviderList.java:92)
59.53 at java.base/java.security.AccessController.doPrivileged(Native Method)
59.53 at java.base/sun.security.jca.ProviderList.fromSecurityProperties(ProviderList.java:91)
59.53 at java.base/sun.security.jca.Providers.(Providers.java:54)
59.53 at java.base/sun.security.jca.GetInstance.getInstance(GetInstance.java:156)
59.53 at java.base/java.security.cert.CertificateFactory.getInstance(CertificateFactory.java:193)
59.53 at org.debian.security.KeyStoreHandler.(KeyStoreHandler.java:50)
59.53 at org.debian.security.UpdateCertificates.(UpdateCertificates.java:65)
59.53 at org.debian.security.UpdateCertificates.main(UpdateCertificates.java:51)
59.54 dpkg: error processing package ca-certificates-java (--configure):
59.54 installed ca-certificates-java package post-installation script subprocess returned error exit status 1
59.54 Setting up default-jre-headless (2:1.11-71) ...
59.58 dpkg: dependency problems prevent configuration of openjdk-11-jre-headless:amd64:
59.58 openjdk-11-jre-headless:amd64 depends on ca-certificates-java (>= 20190405~); however:
59.58 Package ca-certificates-java is not configured yet.
Steps to reproduce behavior
Build WebAPI 2.13 release with Docker image
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the Docker build used for the WebAPI 2.13 release and reproduce the failure while installing ca-certificates-java. Verify the Java certificate store at /etc/ssl/certs/java/cacerts is available and that the image build completes without the package configuration errors shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, java
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100