nulldriver / maven-resource

Maven Repository Manager Concourse Resource
Apache License 2.0
22 stars 49 forks source link

Concourse 3.9.0: trustAnchors parameter must be non-empty #20

Closed elgohr closed 6 years ago

elgohr commented 6 years ago

With Certificate Propagation in 3.9.0 using SSL in this resource is broken. On Concourse there will not be a java sub-directory inside /etc/ssl/certs/ anymore. In this way the resource erros with

java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Because the directory is not present, using repository_cert will also result in an cp-error ('No such file or directory'). Using skip_cert_check: true gives the same RuntimeException

patrickcrocker commented 6 years ago

I can reproduce this... will look into it!

patrickcrocker commented 6 years ago

Fixed in version 1.3.5!