docker-maven-plugin: Cannot create docker access object [extension (5) should not be presented in certificate_request]

Description

When doing a image build I get: Cannot create docker access object [extension (5) should not be presented in certificate_request]

Info

  • d-m-p version : 0.33.0
  • Maven version (mvn -v) : 3.6.3

  • Docker version :
  • If it’s a bug, how to reproduce : run DIND like in attached pod yaml
  • If it’s a feature request, what is your use case :
  • Sample project : [GitHub Clone URL]

runner.yaml.txt

Running docker cmdline (docker build, docker run etc) works fine, hence I see this as a problem with DMP.

This recently worked with the plugin, so I suspect the updated version of docker:stable-dind to affect this.

About this issue

Most upvoted comments

thx @knutwannheden. Unfortunately I still got the same error message by using Oracle JDK 11.0.7

java 11.0.7 2020-04-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)

However: For now I was able to deploy by using TLSv1.2 (instead of TLSv1.3): set MAVEN_OPTS="-Djdk.tls.client.protocols=TLSv1.2"