Just a quick question. Our SSl ceretificate on Octopus server are expiring and we need to replace them new certificates which are already imported. Could you please guide what we need to do bind new certificates.
is this the right way to do:-
Any other things we need to do on tentacle side or on Octopus Server.
You can do it with the command line youāve linked if you prefer, but it may be easier to do it with the octopus server manager. You would need to click change bindings in the upper left, then remove the old https entries and re-add them and select the appropriate certificate. Iāve attached a gif showing this below. Please keep in mind this will restart your Octopus service.
Hi Jermy
Thanks for the answer. After updating we are getting error while creating the release in all teh projects where we are using project ID rather than Name. Is it something we need to chnage at TFS side as well.
Erro:-
Handshake successful. Octopus version: 2018.9.7; API version: 3.0.0
2020-09-17T12:59:08.4344535Z Authenticated as: TFS Build Server (a service account)
2020-09-17T12:59:08.4657020Z Found environments:
2020-09-17T12:59:08.4813278Z This Octopus Server supports channels
2020-09-17T12:59:08.5907072Z Cannot find the project with name or id āError: unable to get local issuer certificateā. Please check the spelling and that you have permissions to view it. Please use Configuration > Test Permissions to confirm.
2020-09-17T12:59:08.5907072Z This error is most likely occurring while executing octo as part of an automated build process. The following doc is recommended to get some tips on how to troubleshoot this: https://g.octopushq.com/OctoexeTroubleshooting
2020-09-17T12:59:08.5907072Z Exit code: -1
Thanks
Can you please confirm that the new certificate is trusted? In the meantime, if you are blocked you should be able to use the ignore SSL errors option to get around it.
I tried above āChecking Ignore SSLā. Also tried generating new API Key and use that in TFS. I am also getting error while pushing.
Requesting signature for delta compression from the server for upload of a package with id āAttributionServiceā and version ā0.1.0-jmoscrop-144963-0001+146266ā
2020-09-17T17:08:51.5463158Z Calculating delta
2020-09-17T17:08:52.4056848Z The delta file (7,965,636 bytes) is 42.76% the size of the original file (18,628,949 bytes), uploadingā¦
2020-09-17T17:08:52.5150595Z Something went wrong while performing a delta transfer:
2020-09-17T17:08:52.5150595Z Falling back to pushing the complete package to the server
2020-09-17T17:08:52.7181858Z
2020-09-17T17:08:52.7181858Z Error from Octopus Server (HTTP 500 InternalServerError)
And Yes the certificate is internal CA that is trusted on all desktop and servers.