Error in testing replication agent for AEM instance to Marketing Cloud and Creative Cloud sync | Community
Skip to main content
Level 2
Jul 26, 2017 9:50 AM UTC
Solved

Error in testing replication agent for AEM instance to Marketing Cloud and Creative Cloud sync

We are repeatedly experiencing the following error when we test our replication agents:

Failed to get an access token for user: mac-deloitteemeanorthpartnersand-replication msg: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Please can you advise?

Cheers,

Dave

kautuksahni​

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
davidn52252293Accepted solution
Level 2
Jul 26, 2017 1:34 PM UTC

Hi - we fixed by updating Java and restarting server.

Thanks!

Dave

5 replies

davidn52252293AuthorAccepted solution
Level 2
Jul 26, 2017 1:34 PM UTC

Hi - we fixed by updating Java and restarting server.

Thanks!

Dave

Translate
Level 2
Jul 26, 2017 12:40 PM UTC

Thanks, we will look at that link.

This is occurring on AWS.

Cheers,

Dave

Translate
kautuk_sahni
Employee
Jul 26, 2017 10:40 AM UTC

I am following-up internally.

Would get back to with the update.

Is this happening on AWS/Cloud? or locally?

It looks to me certificate issue at Java installation level, See this java - InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty - Stack Overflow

kautuk

Translate
Kautuk Sahni
Level 2
Jul 26, 2017 10:22 AM UTC

Hi

Thanks for your reply, we have deleted and tried again a number of times.

Can you tell me more about the nature of the error:

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

It states that the trustAnchors must not be empty, how is this set?

Cheers,

Dave

Translate
kautuk_sahni
Employee
Jul 26, 2017 9:57 AM UTC

This problem is addressed in this post:- Trying to Configuring AEM Assets integration with Marketing Cloud and Creative Cloud

// If you make any mistake in initial configuration then trying to fix it later. It will not work because your latest changes will not be reflected in code. The workaround is manually clear and recreate the configuration.

~kautuk

Translate
Kautuk Sahni