A Bengaluru company that the worldâs major browsers trust to vouch for websites generated the secret keys for eight of its security certificates so poorly that anyone could have worked them out in seconds. Google, Mozilla, Apple and Microsoft have blocked the certificates, the Union government has set up a special team to investigate, and security experts are warning that the clean-up will be long and difficult.The keys belonged to eMudhra Ltd, a listed certifying authority. (AI generated)The keys belonged to eMudhra Ltd, a listed certifying authority.
Each should have been a randomly chosen number about 116 digits long, but one of them was simply the number 4. With the keys, anyone could have issued certificates, the digital identity cards websites use to prove who they are, for any website in the world, from a bank to a government portal, and browsers, phones and computers would have accepted them as genuine.There is no evidence yet that the keys were misused, and the major browsers had a safeguard that would have exposed any attempt against their users.
But security experts said they were alarmed at the lapse, describing it as a blow to âthe global internetâs chain of trustâ. Any trusted authority can vouch for any website, they said, so one companyâs failure can expose organisations that have never dealt with it.
Keys this flimsy, which no standard tool would have produced, could give phishing gangs and eavesdroppers the kind of opening they rarely get. The clean-up could be enormous and slow, they warned, and hardest for the routers, payment terminals and ageing software that are seldom updated.âAs this incident enables even technically unsophisticated individuals to easily recover the private keys for these intermediates, the impact of this incident could not be higher,â Mozilla, which makes the Firefox browser, wrote in its incident report.In a statement on Wednesday, eMudhra said that âa flaw in the KGC caused a wrap/unwrap step to produce a second set of weak keys alongside the original strong keysâ, referring to the key generation ceremony at which it created the bad keys on April 30, 2025. âThe weak keys were the ones published to the browser root stores,â it said.The company said its infrastructure was not compromised and no data was breached.
It said its Indian digital signature certificate and eSign businesses run on separate infrastructure and were unaffected.The ministry of Electronics and Information Technology (MeitY) said it had âtaken serious noteâ of the incident and set up a special team to investigate. The ministry said the impact on Indian websites and applications had been âvery limited and for a very short intervalâ.
It also accused some social media accounts of âfear mongeringâ about the incident.It was not clear how the ministry determined the scale of the impact, since the keys could have been exploited at any point after April 2025, and a forged certificate used against apps, servers or devices that do not check Certificate Transparency logs would not show up in any public record.The Indian Computer Emergency Response Team (CERT-In), the national cybersecurity agency, issued an advisory only on Wednesday afternoon. It said the keys âwere generated with insufficient cryptographic randomnessâ and âcould be recovered almost instantlyâ.
The agencyâs tone was markedly different from the ministryâs, warning that attackers could use them to intercept or alter communications, âpotentially resulting in credential theft, unauthorised disclosure of sensitive information and financial fraudâ. It asked government departments, internet service providers, software vendors and website administrators to update their systems and their lists of trusted certificates. âDo not bypass certificate-validation warnings or disable certificate verification,â it said.Pete Membrey, chief research officer at ExpressVPN, which runs a virtual private network service, said some of the keys were âas small as a single byte, which is hard to explainâ. âNone of the standard tools would ever let you create a key like that, so it sounds like they built something custom.
Itâs a textbook case of why the security world warns against building your own encryption tools rather than using proven ones,â he said.Membrey called the situation âa nightmare scenario for phishing and man-in-the-middle attacksâ. âEveryone is working hard and fast to get these certificates revoked. The problem is that many legitimate certificates are already out there, and people are depending on those too, so cleaning this up wonât be quick or simple,â he said.âThis isnât just about eight compromised keys.
Itâs about the global internetâs chain of trust,â said Yash Kadakia, founder and chief technology officer of cybersecurity firm Security Brigade. âA single authorityâs failure can undermine authentication for organisations that have never dealt with it. The cleanup could be enormous, particularly for devices and software that cannot be easily updated.âHow the chain of trust worksEvery website whose address begins with âhttpsâ presents a certificate to prove its identity.
To take a hypothetical example, the certificate for sbi.co.in lets a browser confirm that the site is run by the State Bank of India before it shows a padlock and encrypts what the user sends. The browser trusts the certificate because a certificate authority, a company that checks who controls a website, has signed it.
Browsers and operating systems each keep a list of the several dozen authorities they trust, and eMudhra is on the lists kept by Google, Mozilla, Apple and Microsoft.Authorities keep their top-level root certificates for signing intermediate certificates, and the intermediates sign certificates for individual websites. All eight of eMudhraâs compromised certificates were intermediates.
Six were for websites, and two were for code signing, which software makers use to prove a program is genuine. If a websiteâs certificate is an identity card, an intermediate is the office that issues the cards, and whoever holds its private key, the secret number used for signing, can issue a card in any name.The browsers escaped because they accept a website certificate only if it appears in Certificate Transparency logs, public registers in which any forgery would have been visible.A mess in the makingUnder the encryption method eMudhra used, a private key should be drawn at random from a range of numbers larger than the estimated count of atoms in the observable universe. eMudhraâs eight keys were 4, 56, 66, 115, 155, 156, 230 and 237.
Dennis Jackson, a cryptography engineer at Mozilla handling the incident, described them as âeffectively all-zeroes apart from the last byteâ.Mozillaâs engineers recovered the keys by generating the first 256 possible keys and checking for a match. Jackson wrote that AI agents he tested managed it âon their first attempt with a simplistic promptâ.In its replies to Mozillaâs questions, eMudhra said its staff had departed from the usual ceremony script, in âan approved deviationâ, to test exporting the keys to its data centres in the US and Europe.
The company said âa flaw in the codeâ then created a weaker second set of keys, which staff used by mistake âbecause the key labels were similarâ, and that âthere were human errors in multiple steps of the processâ. In Wednesdayâs statement, eMudhra said these certificates and its roots had âgone through independent audits for two years in a rowâ.
MeitY said those audits included WebTrust audits, an international standard for checking certificate authorities, conducted by BDO International Limited, and that the ministry had no role in them.

