Akamai integration with AEMaaCS
- April 17, 2025
- 2 replies
- 1457 views
Hi,
My requirement is to use Akamai as CDN for my AEMaaCS project.
Followed this documentation from Adobe CDN in AEM as a Cloud Service | Adobe Experience Manager.
Akamai we configured as per the sample vendor configurations.
I created a edge key and deployed it through cdn.yaml file (attached screenshot) as a secret type environment variable. Same key we are passing as X-AEM-Edge-Key header from Akamai.
1) When I try to run the curl command << curl https://publish-p<PROGRAM_ID>-e<ENV-ID>.adobeaemcloud.com -v --header "X-Forwarded-Host: example.com" --header "X-AEM-Edge-Key: <PROVIDED_EDGE_KEY>" --header "x-aem-debug: edge=true" >>
the response is 302, and the X-Forwarded-Host expected value in response header is the domain, but it is returning publisher url (in 'x-aem-debug' response header).
2) When I try to run the curl command << curl https://publish-p<PROGRAM_ID>-e<ENV-ID>.adobeaemcloud.com/content/example-homepage.html -v --header "X-Forwarded-Host: example.com" --header "X-AEM-Edge-Key: <PROVIDED_EDGE_KEY>" --header "x-aem-debug: edge=true" >>
the response is 200. This url is the publish url for the homepage of the project(with /content path).
and X-Forwarded-Host expected value in response header is the domain, but it is returning publisher url (in 'x-aem-debug' response header).
3) When I try to run the curl command << curl https://example.com -v --header "X-Forwarded-Host: example.com" --header "X-AEM-Edge-Key: <PROVIDED_EDGE_KEY>" --header "x-aem-debug: edge=true" >>
the response is 200. Here, X-Forwarded-Host is returning example.com , and host=example.com (in 'x-aem-debug' response header)
What is the problem happening in here, am I missing any steps?
Or is the Akamai configuration wrong?
DNS I am yet to configure, to point the domain to Akamai edge server instead of publish url.
Am I testing the connectivity correct? Please guide me through this issue.
Thanks,
Ranjith