Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

NOISSUE - Preserve entity mapping on certificate renewal#177

Open
WashingtonKK wants to merge 2 commits intoabsmach:mainfrom
WashingtonKK:renew-bug
Open

NOISSUE - Preserve entity mapping on certificate renewal#177
WashingtonKK wants to merge 2 commits intoabsmach:mainfrom
WashingtonKK:renew-bug

Conversation

@WashingtonKK
Copy link
Copy Markdown
Contributor

What type of PR is this?

What does this do?

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Did you document any new/modified features?

Notes

Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
Comment thread service.go

entityID, err := s.repo.GetEntityIDBySerial(ctx, serialNumber)
if err == nil {
if err := s.repo.SaveCertEntityMapping(ctx, newCert.SerialNumber, entityID); err != nil {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renew should have the same serial number

@SammyOina
Copy link
Copy Markdown
Contributor

repurpose to remove renew endpoint

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants