RSA encryption is one of the most widely used asymmetric algorithms in enterprise environments. It underpins X.509 certificates, secures APIs, signs documents, and powers VPNs and smart cards.
According to Cloudflare, nearly 78% of public servers still rely on RSA for digital signatures. In regulated industries like healthcare, finance, and government, many systems continue to accept only RSA-based certificates.
Yet reliance on RSA presents challenges. Larger key sizes, such as 3072 or 4096 bits, increase processing overhead and slow TLS handshakes, while quantum computing threatens its mathematical foundation. To prepare, organizations are adopting ECC and testing post-quantum algorithms, often alongside certificate lifecycle automation to stay agile.
This article explains how RSA works within PKI and TLS, the risks to be aware of, and best practices for using it securely.
How RSA Works
RSA begins with two large, randomly generated prime numbers. Their product becomes a modulus, n, which appears in both the public and private keys.
The public key can be shared freely, while the private key must remain secret. Anyone can encrypt data with the public key, but only the private key can decrypt it.
RSA’s security rests on the difficulty of factoring the modulus into its prime factors. Even though n is public, uncovering the original primes—and thus the private key—is computationally infeasible with current technology. This problem keeps RSA viable today.
RSA in PKI and TLS
RSA is central to PKI and certificate-based authentication, particularly in the TLS certificate handshake.
When a browser connects to a secure site, it checks the server’s X.509 certificate, which typically contains an RSA public key, SAN entries, expiration dates, and a CA signature. This validates the server’s identity and enables encrypted communication.
A common misconception is that RSA handles both signatures and key exchanges. In practice, RSA is mainly used for digital signatures to prove authenticity. Key exchanges are more often performed by algorithms like ECDHE, which provide forward secrecy—ensuring that even if a private RSA key is compromised later, past traffic remains safe.
RSA Challenges and Risks
While RSA remains a cornerstone of enterprise security, it comes with challenges that organizations can’t afford to ignore. Some of those challenges include:
Performance tradeoffs at higher key sizes
RSA’s security improves with larger key sizes, but that increase comes at a cost. Moving from 2048-bit to 3072- or 4096-bit keys strengthens protection but slows down operations like signing, encryption, and decryption.
For systems handling high volumes of TLS sessions, such as APIs, e-commerce platforms, or login services, this leads to latency, increased CPU usage, and a degraded user experience. To compensate, organizations often need to invest in additional hardware or cryptographic accelerators, adding to infrastructure costs.
Misconfigurations and weak key management
Despite modern standards, some organizations still use outdated 1024-bit keys or reuse the same RSA key across different systems. Others share keys with third-party vendors, increasing the risk of compromise.
Common mistakes such as storing keys in plain text, pushing them to public repositories, or leaving them unsecured in cloud storage can result in attackers gaining full control. Once a private key is exposed, attackers can impersonate servers, decrypt traffic, and sign malicious payloads, leading to severe breaches and long-term consequences.
Quantum computing threats
RSA’s security relies on the difficulty of factoring large numbers; a problem that quantum computing, through Shor’s Algorithm, could solve much faster than classical computers. In theory, even 2048 or 4096-bit keys could be broken within hours using a sufficiently powerful quantum machine.
While that level of quantum computing doesn’t exist yet, it’s close enough that governments, financial institutions, and large tech providers are already preparing.
There’s also a growing risk of “harvest now, decrypt later” attacks, where encrypted data is collected today with the intention of decrypting it once quantum capabilities arrive. For industries handling long-term sensitive data, this is a serious concern.
RSA Best Practices
Adopt crypto agility
If your entire certificate ecosystem or authentication stack depends solely on RSA, a sudden break — whether through computational advances, regulatory changes, or quantum computing advancement — could cripple your security posture.
Crypto agility provides the resilience you need to prevent this from happening. It allows you to adopt newer algorithms like ECC or post-quantum cryptography without disrupting existing infrastructure.
Organizations can implement crypto agility by:
- Adopting standards-based frameworks such as PKCS#11 or KMIP that support multiple algorithms out of the box.
- Enforcing policies that avoid hardcoding RSA into systems
- Deploying Certificate Lifecycle Management (CLM) tools like Keyfactor Command to automate the certificate management process.
As regulations evolve and customer expectations rise, crypto agility is becoming essential. It transforms RSA from a single point of dependency into one part of a flexible, resilient cryptographic strategy.
Automate certificate lifecycle for RSA-based certs
Managing certificates manually has always been a weak spot in enterprise security. The certificate management process is too complex to track with spreadsheets or reminders. And this quickly becomes unmanageable as the number of certificates grows, which also increases the risk of human error and certificate mis-issuance.
Automation addresses this.
To automate your certificate lifecycle process, you can use protocols like ACME to enable self-service certificate renewal. Or you can deploy enterprise Certificate Lifecycle Management (CLM) tools, like Keyfactor EJCAB, to discover certificates, validate trust chains, and enforce crypto policies.
Centralize keys and enforce rotation policies
When RSA keys are scattered across multiple cloud accounts, data centers, and individual devices, it becomes difficult to maintain visibility and control. That blind spot creates opportunities for attackers, especially if private keys are left unprotected.
To reduce this risk, organizations should centralize key management using tools such as Hardware Security Modules (HSMs), cloud-based key management services, or CLM platforms like EJBCA or Keyfactor Command. These tools bring all keys into a controlled environment, enforce strict access controls, and provide logging for audits.
Conclusion
RSA has long been a cornerstone of digital security, but its limitations are becoming harder to ignore, especially with quantum computing on the horizon.
It’s still useful in many cases, but depending entirely on RSA puts your entire security posture at risk. Instead, focus on building flexibility. Adopt crypto agility so you can shift algorithms without disruption. Automate certificate management to reduce human error. Centralize and protect your keys to limit exposure.
Adapting to a post-quantum world isn’t just strategic—it’s necessary. Resilience won’t come from comfort. It comes from control, consistency, and readiness.