Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while activating code version #152

Closed
venkataraoetg opened this issue May 20, 2020 · 2 comments
Closed

Issue while activating code version #152

venkataraoetg opened this issue May 20, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@venkataraoetg
Copy link

venkataraoetg commented May 20, 2020

I'm able to create a code version on a staging instance but not able to activate the code version. I'm getting "certificate error" when I try to activate the deployed code version.

sfcc-ci client:auth $API_KEY $API_SECRET --renew

sfcc-ci code:deploy FUN_SHOP_$CODEBUILD_BUILD_NUMBER.zip -i $SFCC_INSTANCE_NAME -c $CODEBUILD_SRC_DIR/funimation.p12 -p $P12_Password

sfcc-ci code:activate FUN_SHOP_$CODEBUILD_BUILD_NUMBER -i $SFCC_INSTANCE_NAME

There are no options to add 2-factor certificate path & password for "code:activate" command.

Even tried to activate the code version in the "code:deploy" command with option -a:

sfcc-ci code:deploy FUN_SHOP_$CODEBUILD_BUILD_NUMBER.zip -i $SFCC_INSTANCE_NAME -c $CODEBUILD_SRC_DIR/funimation.p12 -p $P12_Password -a true

Please suggest to proceed it further.

@tobiaslohr tobiaslohr added the help wanted Extra attention is needed label May 27, 2020
@tobiaslohr
Copy link
Contributor

When you activate the code version with:

sfcc-ci code:activate FUN_SHOP_$CODEBUILD_BUILD_NUMBER -i $SFCC_INSTANCE_NAME

please make sure, that $SFCC_INSTANCE_NAME does not carry the cert version of the host name, e.g. cert.staging.something..., but staging.something... or staging-something...

@venkataraoetg
Copy link
Author

I was able to resolve the issue. The issue was due to SSL certificate strict validations on staging. I have bypassed it from dw.json file & was able to trigger build successfully.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants