-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Hi,
I've detected the following malfunction.
I believe it's a web UI issue, and it occurs in both version v25.12 and v26.03.
If you go to the ACME > Certificates section, access any certificate, and click Revoke, everything seems to have gone correctly. However, when you return to the certificate list, instead of the one you selected being revoked, the certificate with a higher ID appears as revoked.
For example, if you revoke certificate ID 70, the one that appears revoked is 71.
If you try to revoke 70 again, the system generates an internal error with the following message in the console:
Note that the SerialNumber that appears in the error is the SerialNumber of the certificate we want to revoke, so it seems the revocation is being applied to the correct certificate.
gui-1 | 2026/03/14 08:47:54 POST /certificates/70
boulder-1 | 2026-03-14T08:47:54.744068+00:00Z boulder-ra[377]: 6 boulder-ra 8BZMow [AUDIT] Revocation request: JSON={"ID":"AAAAAAAA","SerialNumber":"XXXXXXXXX","reason":4,"Method":"admin","CRLShard":0,"AdminName":"root","Error":"no certificate with serial XXXXXXXXX and status other than revoked"}
bmysql-1 | 2026-03-14 8:47:54 220 [Warning] Aborted connection 220 to db: 'boulder_sa_integration' user: 'revoker' host: '10.77.77.77' (Got an error reading communication packets)
gui-1 | 2026/03/14 08:47:54 ERROR: Message from server: '2026-03-14T08:47:54.711727+00:00Z admin[469]: 6 admin uuBEZA No debug listen address specified
gui-1 | 2026-03-14T08:47:54.711771+00:00Z admin[469]: 6 admin 4ysLIw Versions: admin=(v0.20251216.0 +f3e973a9 Sat Dec 27 16:13:24 UTC 2025) Golang=(go1.25.5) BuildHost=(labca-v25.12)
gui-1 | 2026-03-14T08:47:54.717284+00:00Z admin[469]: 6 admin 7oNmiA [AUDIT] admin tool executing with the following arguments: "bin/admin -config labca/config/admin.json revoke-cert -serial XXXXXXXXX -reason superseded -dry-run=false"
gui-1 | 2026-03-14T08:47:54.717308+00:00Z admin[469]: 6 admin 6GJd3Q Found 1 certificates to revoke
gui-1 | 2026-03-14T08:47:54.744816+00:00Z admin[469]: 3 admin xcREug [AUDIT] not revoking "XXXXXXXXX": already revoked
gui-1 | 2026-03-14T08:47:54.744859+00:00Z admin[469]: 3 admin glXXEA [AUDIT] executing subcommand: revoking serials: encountered 1 errors while revoking certs; see logs above for details
gui-1 | ERROR! On line 166 in commander script
gui-1 | '
gui-1 | 2026/03/14 08:47:54 errorHandler: err=2026-03-14T08:47:54.711727+00:00Z admin[469]: 6 admin uuBEZA No debug listen address specified
gui-1 | 2026-03-14T08:47:54.711771+00:00Z admin[469]: 6 admin 4ysLIw Versions: admin=(v0.20251216.0 +f3e973a9 Sat Dec 27 16:13:24 UTC 2025) Golang=(go1.25.5) BuildHost=(labca-v25.12)
gui-1 | 2026-03-14T08:47:54.717284+00:00Z admin[469]: 6 admin 7oNmiA [AUDIT] admin tool executing with the following arguments: "bin/admin -config labca/config/admin.json revoke-cert -serial XXXXXXXXX -reason superseded -dry-run=false"
gui-1 | 2026-03-14T08:47:54.717308+00:00Z admin[469]: 6 admin 6GJd3Q Found 1 certificates to revoke
gui-1 | 2026-03-14T08:47:54.744816+00:00Z admin[469]: 3 admin xcREug [AUDIT] not revoking "XXXXXXXXX": already revoked
gui-1 | 2026-03-14T08:47:54.744859+00:00Z admin[469]: 3 admin glXXEA [AUDIT] executing subcommand: revoking serials: encountered 1 errors while revoking certs; see logs above for details
gui-1 | ERROR! On line 166 in commander script
gui-1 |
gui-1 | main._hostCommand({0x16b7348, 0xc0000fca50}, 0xc000f212c0, {0x112647e, 0xb}, {0xc0006e78c0, 0x2, 0xc000d1cc60?})
gui-1 | /go/src/labca/main.go:2122 +0x5e8
gui-1 | main.certRevokeHandler({0x16b7348, 0xc0000fca50}, 0xc000f212c0)
nginx-1 | ::ffff:192.168.0.1 - - [14/Mar/2026:08:47:54 +0000] "POST /admin/certificates/70 HTTP/1.1" 500 8774 "https://labca.domain.lan/admin/certificates/70" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0" "-"
gui-1 | /go/src/labca/main.go:2890 +0x171
gui-1 | net/http.HandlerFunc.ServeHTTP(0xfbe600?, {0x16b7348?, 0xc0000fca50?}, 0xc0000fca50?)
gui-1 | /usr/local/go/src/net/http/server.go:2322 +0x29
gui-1 | main.authorized.func1({0x16b7348, 0xc0000fca50}, 0xc000f212c0)
gui-1 | /go/src/labca/main.go:3141 +0x32e
gui-1 | net/http.HandlerFunc.ServeHTTP(0xc000f21180?, {0x16b7348?, 0xc0000fca50?}, 0x28dbeabf8532?)
gui-1 | /usr/local/go/src/net/http/server.go:2322 +0x29
gui-1 | github.com/gorilla/mux.(*Router).ServeHTTP(0xc0000de540, {0x16b7348, 0xc0000fca50}, 0xc000f20f00)
gui-1 | /root/go/pkg/mod/github.com/gorilla/mux@v1.8.1/mux.go:212 +0x1e2
gui-1 | net/http.serverHandler.ServeHTTP({0x16b2bc0?}, {0x16b7348?, 0xc0000fca50?}, 0x6?)
gui-1 | /usr/local/go/src/net/http/server.go:3340 +0x8e
gui-1 | net/http.(*conn).serve(0xc000fb4900, {0x16b9800, 0xc000d90f30})
gui-1 | /usr/local/go/src/net/http/server.go:2109 +0x665
gui-1 | created by net/http.(*Server).Serve in goroutine 1
gui-1 | /usr/local/go/src/net/http/server.go:3493 +0x485Best Regards.