A security engineer is auditing an automated provisioning pipeline for a fleet of internal microservice gateways. The deployment script generates a single public/private key pair and Certificate Signing Request (CSR) on a central management server, submits the CSR to the internal Certificate Authority (CA), and then copies the issued certificate and private key over SSH to all target gateway nodes. Which of the following best describes the primary security flaw in this PKI workflow?
- The private key was generated on a central server rather than locally on each target system, increasing the attack surface and violating non-repudiation and key isolation principles.Cevap
- BThe Certificate Authority (CA) should generate both the public and private key pair upon receiving administrative attributes, rather than requiring key generation on local endpoint software.
- CThe central management server should use asymmetric encryption to encrypt bulk traffic across gateway nodes directly instead of requesting X.509 digital certificates.
- DGenerating key pairs prior to CA validation prevents data integrity verification because digital signatures rely on shared symmetric keys matching across all destination gateways.
Cevap
The primary flaw is generating the private key on a central server and distributing it to multiple target nodes, which compromises key isolation and exposes private keys over the network.
In proper PKI design, private keys should be generated locally on the target endpoint (or within an associated HSM/TPM) and must never traverse the network. Sharing a single private key across multiple microservice gateways increases the blast radius of a credential compromise and undermines host identification and non-repudiation.
Adım Adım Çözüm
Anahtar Kavram
PKI Certificate Enrollment and Key Generation Lifecycle
Tahmini Süre:2m 0s