Skip to content

Commit 0f2b84a

Browse files
fix: Set the issuer in generated TLS certificates to the subject of the issuing certificate (#566)
1 parent d4313de commit 0f2b84a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ All notable changes to this project will be documented in this file.
2424
### Fixed
2525

2626
- Underscores are now allowed in Kerberos principal names ([#563]).
27+
- The issuer in generated TLS certificates is set to the subject of the issuing
28+
certificate ([#566]).
2729

2830
[#528]: https://github.com/stackabletech/secret-operator/pull/528
2931
[#544]: https://github.com/stackabletech/secret-operator/pull/544
@@ -32,6 +34,7 @@ All notable changes to this project will be documented in this file.
3234
[#552]: https://github.com/stackabletech/secret-operator/pull/552
3335
[#563]: https://github.com/stackabletech/secret-operator/pull/563
3436
[#564]: https://github.com/stackabletech/secret-operator/pull/564
37+
[#566]: https://github.com/stackabletech/secret-operator/pull/566
3538
[#569]: https://github.com/stackabletech/secret-operator/pull/569
3639

3740
## [24.11.1] - 2025-01-10

rust/operator-binary/src/backend/tls/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ impl SecretBackend for TlsGenerate {
273273
})?
274274
.build();
275275
x509.set_subject_name(&subject_name)?;
276-
x509.set_issuer_name(ca.certificate.issuer_name())?;
276+
x509.set_issuer_name(ca.certificate.subject_name())?;
277277
x509.set_not_before(Asn1Time::from_unix(not_before.unix_timestamp())?.as_ref())?;
278278
x509.set_not_after(Asn1Time::from_unix(not_after.unix_timestamp())?.as_ref())?;
279279
x509.set_pubkey(&pod_key)?;

0 commit comments

Comments
 (0)