-
Notifications
You must be signed in to change notification settings - Fork 108
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
Alias-Update Operation #177
Comments
Do we have any update on this? We are seeing the same logs as in the screenshot above while using update operation for Aliases. The keystore and alias are currently assigned to a target server and we cannot delete it as there would be a downtime. |
Will work on this and get back in a day or two |
@praoCNB - can you confirm what type of certs are you updating? Looks like we wont be able to run the "update" command for the "selfsignedcert" type and "keycertfile" type if it includes a key file as well. Will that limitation impact your usecase? From the screenshot above you are just using the cert file and trying to update an alias with a new cert file. See screenshot below. If its just "Certificate" (that is for your truststore) alone, I might have it all working and can release it upon your confirmation |
@ssvaidyanathan , we were looking for both "Certificate" and "keycertfile" update with the "update" command. However, I just realized that keycertfile update is not allowed with Apigee managment API as well. That said, "Certificate" update is also a requirement and if you can fix that it would be really helpful. For keycertfile we would be creating a new alias using Create operation and update the target servers. |
@praoCNB - Thanks a lot. Will provide an update soon |
@praoCNB - I just released <groupId>com.apigee.edge.config</groupId>
<artifactId>apigee-config-maven-plugin</artifactId>
<version>2.9.2-rc1</version> NOTE: The update option does not support Please try it out and let me know. Once you confirm, I will release it as |
@ssvaidyanathan . Thanks. It works. Please do let me know once the release v2.9.2 is live. |
Thanks for testing and getting back. |
Hi,
I am using Apigee-config-maven-plugin version (2.4.4), for updating the certificate in the alias, using the update operation I didn't get excepted output it is showing first delete the existing alias and re-create with the updated certificate, but I don't want to delete the existing alias as we may have down time.
we have tested with the management API call for aliases update it is able to update the certificate can we integrate the below management call for update operation using the plugin?
Management API ----
: curl --location 'https://apigee.googleapis.com/v1/organizations/XXXXX/environments/XXXXX/keystores/XXXXX/aliases?alias=XXXXXX&format=keycertfile' --header 'Authorization: Bearer XXXXX --header 'Content-Type: multipart/form-data'
--form 'data=" XXXXX
please find the below screenshots for your reference with the curl which is able to update the cert.
, please find the below screenshots for your reference with the plugin not able to update the cert.
The text was updated successfully, but these errors were encountered: