# Getting Error while setting up Rule Development Kit

**URL:** <https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218>\
**Category:** SHF Discussion and Questions\
**Tags:** identity-security-cloud, rules\
**Created:** [January 14, 2024, 6:38pm UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218 "2024-01-14T18:38:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amrit1897](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Amrit1897](https://developer.sailpoint.com/discuss/u/Amrit1897)\
**Post date:** [January 14, 2024, 6:38pm UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218/1 "2024-01-14T18:38:57Z")

</div>

Getting Error while setting up Rule Development Kit. Can anyone please suggest on this.

> mvn test -Dtest=“UsernameGeneratorTest”  
> [INFO] Scanning for projects…  
> Downloading from data-local: file://C:\Users\U6012354\OneDrive\Documents\Sailpoint IDN\rule-development-kit-main/lib/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom  
> Downloading from central: [https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom](https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.9.2/junit-bom-5.9.2.pom)  
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:  
> [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.9.2 (absent): Could not transfer artifact org.junit:junit-bom:pom:5.9.2 from/to central ([Central Repository:](https://repo.maven.apache.org/maven2)): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 26, column 25  
> [ERROR] ‘dependencies.dependency.version’ for org.junit.jupiter:junit-jupiter:jar is missing. @ line 50, column 21  
> @  
> [ERROR] The build could not read 1 project → [Help 1]  
> [ERROR]  
> [ERROR] The project sailpoint:rule-development-kit:1.0-SNAPSHOT (C:\Users\U6012354\OneDrive\Documents\Sailpoint IDN\rule-development-kit-main\pom.xml) has 2 errors  
> [ERROR] Non-resolvable import POM: The following artifacts could not be resolved: org.junit:junit-bom:pom:5.9.2 (absent): Could not transfer artifact org.junit:junit-bom:pom:5.9.2 from/to central ([Central Repository:](https://repo.maven.apache.org/maven2)): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 26, column 25 → [Help 2]  
> [ERROR] ‘dependencies.dependency.version’ for org.junit.jupiter:junit-jupiter:jar is missing. @ line 50, column 21  
> [ERROR]  
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.  
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.  
> [ERROR]  
> [ERROR] For more information about the errors and possible solutions, please read the following articles:  
> [ERROR] [Help 1] [ProjectBuildingException - Apache Maven - Apache Software Foundation](http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException)  
> [ERROR] [Help 2] [UnresolvableModelException - Apache Maven - Apache Software Foundation](http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException)

---

<div class="post-metadata">

**Author:** ![kjakubiak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kjakubiak/32/7052_2.png) [@kjakubiak](https://developer.sailpoint.com/discuss/u/kjakubiak)\
**Post date:** [January 15, 2024, 9:16am UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218/2 "2024-01-15T09:16:55Z")

</div>

> [@Amrit1897](#):
>
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @

This issue is caused by the SSL certificate that cannot be validated. Usualy to solve it you need to add certificate from CA which issued target certificate into you trust store or list of trusted CAs.

---

<div class="post-metadata">

**Author:** ![Amrit1897](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Amrit1897](https://developer.sailpoint.com/discuss/u/Amrit1897)\
**Post date:** [January 15, 2024, 9:32am UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218/3 "2024-01-15T09:32:44Z")

</div>

But in RDK, I believe we are mocking the Sailpoint object and running test/assert method on it.  
We are not interacting with Sailpoint instance, then how come it is throwing certificate exception?

---

<div class="post-metadata">

**Author:** ![kjakubiak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kjakubiak/32/7052_2.png) [@kjakubiak](https://developer.sailpoint.com/discuss/u/kjakubiak)\
**Post date:** [January 15, 2024, 9:48am UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218/4 "2024-01-15T09:48:39Z")

</div>

> [@Amrit1897](#):
>
> or org.junit.jupiter:junit-jupiter:jar is missing.

I think it’s trying to download `or org.junit.jupiter:junit-jupiter:jar is missing.` as dependency. I would suggest to check how to disable SSL checking temporarly.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [March 15, 2024, 9:49am UTC](https://developer.sailpoint.com/discuss/t/getting-error-while-setting-up-rule-development-kit/24218/5 "2024-03-15T09:49:31Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
