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

[Issue]: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target #419

Open
2 tasks done
SatishShihani opened this issue Oct 26, 2023 · 4 comments
Assignees

Comments

@SatishShihani
Copy link

What happened?

I have done the Kloadgen setup for Jmeter as documented in 'https://github.com/sngular/kloadgen/wiki/installation'.
The first attempt was downloading kloadgen-5.6.7.jar file directly from the link https://mvnrepository.com/artifact/com.sngular/kloadgen/5.6.7 and keeping it in lib/ext folder.
Schema and Jmeterplan.zip

After that when I added 2 things in jmeter -Schema Registry Config Element and KLG - Value Schema File Serializer Config and tried the 'Test registry' after providing all the necessary keystore/truststore path and passwords, Always getting error as - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The second attempt I did by generating build jar file using cmd and maven. All the time the build fails with the error:

[ERROR] Failed to execute goal on project kloadgen: Could not resolve dependencies for project com.sngular:kloadgen:jar:5.6.7: Failed to collect dependencies at io.confluent:kafka-schema-registry-client:jar:7.1.1: Failed to read artifact descriptor for io.confluent:kafka-schema-registry-client:jar:7.1.1: The following artifacts could not be resolved: io.confluent:kafka-schema-registry-client:pom:7.1.1 (absent): Could not transfer artifact io.confluent:kafka-schema-registry-client:pom:7.1.1 from/to confluent (https://packages.confluent.io/maven/): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Please assist!

KloadGen Version

kloadgen 5.6.7

Relevant log output

No response

Have you added your JMX Testplan or a replica?

  • I have added a JMX testplan

Have you added your Schema or a replica?

  • I have added the Schema
@github-actions
Copy link

Thank you for collaborating with the project by giving us feedback! In case it applies, it would be helpful if you could attach an example AVRO and an example test plan for us to reproduce the error. Cheers!

@SatishShihani
Copy link
Author

AVRO.zip

Attached the avro. The example test plan has already attached with previous message.
Thanks

@ramilsngular ramilsngular self-assigned this Nov 6, 2023
@ramilsngular
Copy link
Contributor

Thanks for your message, we are currently working on it.

@ramilsngular
Copy link
Contributor

Hi!

I have created a branch (#427 , named "419 pkix path building failed"), with a fix to gather in the Schema Registry Config Element the necessary properties to connect with the schema registry.

Please, try to connect to your schema registry, verify using this branch and tell us what you get.

Cheers.

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

2 participants