Unable to Deploy over HTTPS end point

Avatar

Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Contributor
Level 3
Mayukh007
Level 3

Likes

15 likes

Total Posts

88 posts

Correct reply

2 solutions
Top badges earned
Contributor
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
Mayukh007
Level 3

29-09-2020

HI,

 

I am trying to deploy ui.apps, core.jar artifacts into AEM Author and Pub using Jenkins job. Previously we used to connect over HTTP using ip and port to deploy package. This job does Build > store to artifactory > then take the package and do deploy (CI  & CD).

Commands were:

authDeployCommand:mvn -q -f pom.xml clean install-PautoInstallPackage  -Dcrx.host=${AEM_AUTHOR_CREDENTIALS_USR} -Dcrx.password=${AEM_ADMIN_CREDENTIALS_PSW} -Dcrx.port=4502 -e
pubDeployCommand:mvn -q -f pom.xml clean install -PautoInstallPackage -Dcrx.host=${AEM_PUBLISHER_CREDENTIALS_USR} -Dcrx.password=${AEM_ADMIN_CREDENTIALS_PSW} -Dcrx.port=4503 -e

 Here ${AEM_AUTHOR_CREDENTIALS_USR} for example is ip of AEM Auth.

But now we received HTTPS end points and URLs and would like to use that to deploy and block off HTTP connection.

 

So I updated the maven commands to this:

authDeployCommand:mvn -q -f pom.xml clean install -PautoInstallPackage -Dcrx.host=auth.adobecqms.net -Dcrx.password=${AEM_ADMIN_CREDENTIALS_PSW} -Dcrx.port=443 -e
pubDeployCommand:mvn -q -f pom.xml clean install -PautoInstallPackage -Dcrx.host=pub.adobecqms.net -Dcrx.password=${AEM_ADMIN_CREDENTIALS_PSW} -Dcrx.port=443 -e

But I am getting error when doing Deploy as unknown host / can not connect over http...

Am I missing something... ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile

Avatar
Validate 25
MVP
Singaiah_Chintalapudi
MVP

Likes

131 likes

Total Posts

234 posts

Correct reply

39 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 5
Ignite 3
View profile
Singaiah_Chintalapudi
MVP

29-09-2020

The maven architype injects the http into the pom configs. You can create a new profile with https. Please below discussion for more info:

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/deploying-packages-to-a-se...

 

Thanks,

Singaiah