Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Core component Embed Component

Avatar

Level 3

I am trying to use core components "embed component"

But I am not able to author youtube URL. getting the following error.

 

manojd55574250_0-1582132642675.png

 

 I see com.adobe.cq.wcm.core.components.internal.services.embed.OEmbedClientImplConfigurationFactory-youtube.config already extis as part of core componet configs. 

 

Can someone help me with this? Any information is helpful

 

I see the following error 

 

19.02.2020 11:20:30.188 *ERROR* [0:0:0:0:0:0:0:1 [1582132830129] GET path/embed.urlProcessor.json HTTP/1.1] com.adobe.cq.wcm.core.components.internal.services.embed.OEmbedClientImpl Failed to read JSON response
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6.4
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@manojd55574250 Are you connected to VPN while accessing the URL?

I have seen this error while connected to VPN. If the network provider has not whitelisted the URL you will get this error.

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

View solution in original post

6 Replies

Avatar

Level 3

It's similar to https://github.com/adobe/aem-core-wcm-components/issues/881 issue but I am getting 400 error. 

 

Moreover in the component. I am not able to select " Allowed Embeddables" in design dialog and "Embeddable" regular dialog doesn't show up.  as per the documentation, youTube should be available by default.

 

 
 

regular dialog.PNGdesign dialog.PNG

 

 

Avatar

Correct answer by
Community Advisor

@manojd55574250 Are you connected to VPN while accessing the URL?

I have seen this error while connected to VPN. If the network provider has not whitelisted the URL you will get this error.

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Avatar

Level 3
that make sense. Yes I was on VPN. I deployed embed component in dev environment. and I am able to author youtube URL. work fine.

Avatar

Level 3

We have one more issue. When we are on "Embeddable" I drop down doesn't work.  as bellow. I was able to add youtube in design dialog. 

manojd55574250_1-1582221590588.png