Certificate Key Algorithms: RSA 2048 rumours

A note about rumours of RSA 2048 being “broken” by foundational models in the last few days. Most reputable news sources are saying this is not true. (Reuters). Of course, it may be true, but not publicly disclosed. Who knows?

Or it may be true in future.

For those not up to speed, RSA2048 is used as the algorithm that “links” a one certificate to another. Most Certificate Authorities run a long-term “root” CA, often kept offline, and then link this via a signing algorithm to an “issuing” CA (of shorter lifespan). This “issuing” CA is the one that signs your issued TLS cert (also called a leaf).

Both those two signatures, Root -> Issuing, and Issuing -> Leaf , uses a signing algorithm. It’s usually the same algorithm. For years its used the RSA algorithm, with an ever increasing key length to increase the complexity/strength.

Being able to break this chain of trust means fake certificates could be produced, used to then intercept traffic and fool clients into trusting the fake certificates.

Your security relies on end-to-end strong encryption, and not being intercepted and fooled in the middle.

Hence we look to create a new key signing algorithm. That new algorithm needs to be fast to verify, and not easy to break. It requires clients software to support it, and then certificate authorities to issue certs using it — in both their signatures (Root -> Issuing, Issuing -> Leaf).

Enter ECDSA, based on eliptical curves, and actually first introduced more than 20 years ago as a concept. Today, many Certifiate Authorities support ECDSA based certificate chains, as does a log of client software.

For web browsers, this is widely supported: https://caniuse.com/?search=ECDSA

But more than web browsers use TLS, and need strong security. If you read email on a local client (ie, not webmail, but a local mail application) then it may be using IMAPS to fetch, and SMTPS to send email. Both of these protocols (on different ports and to different services) use TLS certificates. Both have to now support having inbound endpoints with ECDSA certificates.

Your selected mail service (MTA, or SMTP service) which is then going to pass your email to the next host you are sending to (outbound connections), also needs to support connecting to (and validating) an endpoint that has an ECDSA certificate.

ECDSA certificates have a higher cryptographic “strength” on shorter key sizes, without the performance penalties that RSA is starting to show on longer keys.

So while the rumour of RSA 2048 may be just hat – its worth taking stock of where your certificates are, and what key algorithm they use, and if you are currently able to upgrade to ECDSA based certificates. It may be that the software you are using needs an update to support these certificate types – you should probably go check that now, and work out what your software maintenance plan looks like ASAP.

AWS Certificate Manager: now with free exportable certificates

It’s a tough time for anyone in the AWS Cloud space right now: it’s the Re:Invent period, the annual global AWS Cloud conference, during which AWS typically makes major announcements of improvements in the cloud, both evolutionary, and revolutionary. During this time, the knowledgeable engineers struggle to keep up to date, forced to understand what the changes mean to their services; the possibilities that have opened up to innovate, optimise, better protect, or simplify their operations.

The previous month has been similarly challenging: the period known as Pre:Invent. During this lead-up period to Re:Invent, even more announcements come out that perhaps have not been scheduled to be made from the stage during Re:Invent.

This blog post is triggered on one thing. AWS Certificate Manager. Its the cornerstone of automated TLS certificate issuance for cloud based services, for two major reasons:

  • Issuance & deployment of certificates is automated within AWS
  • Publicly trusted certificates have been free for certificates used on AWS_managed services since the ACM service launched

A while back AWS added the ability to obtain publicly trusted certificates that can be used outside of AWS, for a cost. It was just a few dollars, but that was infinitely more than what Lets’ Encrypt charged – free.

Today, that’s changed, with exported ACM certificates now also free.

Buried in the announcement about Pro and Essential plans for ACM, comes this line:

Public certificates you request through ACM now come at no additional charge, including the ones you export and run anywhere

Coupled with previously-announced ACME protocol support, this means you can now use the one trusted CA for all purposes, should you chose to do so.

However, you should note the limits on ACME protocol usage as the API for this, the way that certificates are automatically (scripted) issued and re-issued. TLS Certificates are being mandated (by the Browser/CA Forum governing industry body) to be shorter in life span. As I write this, the maximum lifespan is 200 days, and by March 2027 it will be 100 days, finally ending up at 47 days in March 2029. This means you’ll be replacing those certificates more and more. So while today a certificate would need 2 deployments per year, that will increase to more then 7.

Countering this is a high limit on the number of ACME protocol requests: 30,000, and that for each 10,000 requests after this it is just US$0.50 (fifty US cents).

You would need to be maintaining more than 3,863 certificates to exceed this when re-issuing every 47 days. For most this would be unlikely; for those who are, this is very cost effective.

The power of automation of the certificate authority makes the economics of this stand up.

Well-Architected Framework evolves: Foundations and Workloads

I’ve been involved with the Well-Architected Framework since my time at AWS when in late 2014 I was asked to participate in the internal discussions defining the concept. I’ve done many assessments, and I’ve used the perspectives to define and influence architectural decisions in workload deployments across the spectrum from startups to enterprises and governments.

The prescribed approach to date has been focused on the recommendations primarily of workloads: well-architected IN the cloud. BUt there’s so much more that has been missed: well-architected OF the cloud.

This has just been addressed in a recent update.

Top Down, bottom up

I have always looked at the way that the client’s AWS cloud estate is implemented from the AWS Account structure – starting with the management account, core Control Tower accounts (Audit, Security), shared services, and then various workload (sets of) accounts. I say “sets of”, as significant workloads may have separation of Development, Testing, UAT, and Production – or perhaps even more. I’ve thought of this as being the “Top-Down” control.

Meanwhile, which each of those workload accounts comes the application(s), and their posture towards the Well-Architected balance. To me that has been the “Bottom-Up” posture.

Somewhere in the middle these two meet, and their union makes happy workloads that meet balance all requirements.

Historically, Well-Architected didn’t address these two areas: it just looked at Workloads and tacked on some organisational level controls along the way. In my approach, I’ve always had a detailed approach to the organisation controls, derived best practice from real-world use protecting and scaling systems for over 16 years in AWS.

That split has now been recognised with todays update:

  • AWS Well-Architected Cloud Foundations (WA Cloud Foundations) 
  •  Well-Architected Cloud Workloads (WA Cloud Workloads)

Within enterprise organisations, it is likely different stakeholders will (or should) own responsibility for each of these.

Foundations

The Foundation section adds a set of questions that I have spent the last 10 years asking clients to consider. These are the encompassing cloud services that set the cost governance and risk boundaries across the entire cloud estate – as organised via AWS Organizations and enforced via policies and delegations.

There are times when large organisations may have multiple AWS Organizations: such as different companies in a Group, different or conflicting regulatory requirements around the world, or potentially sheer scaling limits (e.g.: hundreds of thousands of AWS Accounts).

There is also a minimum: every client organisation should have at least one Organization, normally deployed via Control Tower, with strict separation of production workloads from non-production, and with federated identity to the AWS control plane (console, APIs).

While Well-Architected Framework Workloads still has six pillars, Foundations has a different set – seven capabilities of focus:

  • FND01 – Multi-Account Environment
  • FND02 – Identity and Access Management
  • FND03 – Central Observability Managemen
  • FND04 – Resource and Inventory Management
  • FND05 – Security and Compliance
  • FND06 – Cloud Financial Management
  • FND07 – Networking and Connectivity

Support in The Well-Architected Tool

At this time, the WAFR tool in the AWS Console does not yet have native support for Foundations, but this is easily fixed using a Custom Lens. Here’s one I created just now, in Github: https://github.com/JamesBromberger/aws-well-architected-foundations-lens

You can add this into the AWS WAFR tool in the console as is, or perhaps fork the Github and improve it!

Running a Well-Architected Review

You’re welcome to run these reviews yourself, but the best benefit is to run them with someone deeply experienced in the concepts. Through Nephology (my consulting brand) I’m available to do this with you.

On your side, you’ll need to determine if you want to focus on the Foundations, a specific Workload, or both. You’ll need your expert available to work with me through a review, which we can do online remotely, or face to face. Please contact me to discuss your requirements as early a possible so we can schedule this in.

Note that repeating a Well-Architected review on an annual basis is a recommendation to gauge the ability of your organisation to progress the remediations, or identify that perhaps they are not being actioned.

Changing personal email address, changing domains

In 1997, the domain name authority (Network Information Center, or NIC) for the country of Tonga was launched. The country code for Tonga is “to“, so the NIC was naturally called TONIC.

A number of my friends and I instantly jumped on acquiring a domain under the new “.to” top-level domain (TLD). Back then, there were only a limited number of TLDs. Some of my friends and I had been pulling apart email servers (Mail Transport Agents, or MTAs), and studying the underlying network protocol by which email is exchanged, and one thing we observed was the conversation a mail server initiates when starting to send a new message:

S: 220 smtp.example.com ESMTP Postfix
C: HELO relay.example.com
S: 250 smtp.example.com, I am glad to meet you
C: MAIL FROM:bob@example.com
S: 250 Ok
C: RCPT TO:alice@example.com
S: 250 Ok
C: RCPT TO:theboss@example.com
S: 250 Ok
C: DATA
S: 354 End data with .

It was from these that we landed on the domain “rcpt.to”. And for the last nearly 30 years, I took the email address james_AT_rcpt.to. I had set my own subdomain of this, with my personal site where I would experiment with various things at “james.rcpt.to”.

Over the years, eyebrows were raised quizzically when local organisations questioned if I was really in Australia, or really in the UK, given the different email domain. And indeed, my Linux host that processed my email was indeed in those countries, and never actually in Tonga.

People then ask me… do you run your own mail server? Yes, I do. I experiment with the full range of online services. I often implement security features and approaches that are several years ahead of what commercial providers are servicing their clients with. For example, have a look at the MTA STS posts, where you can specify security requirement for Mail Transfer Agents (MTAs, as explained above). I experiment with mass mail virtual hosting, virtual domains, IMAP security settings (yes, TLS is used, just as it is in HTTPS).

Recently i was diagnosing an issue with SMTP, whereby emails to a Hotmail address were not going through. The SMTP logs revealed a response from the Hotmail servers would not accept my messages due to settings at a whole-of-domain level that with rcpt.to, were not in my direct control.

I contemplated this for a while, and then decided that this should be in my control in some way… so the time has come to move on from a shared domain for my personal experimentations, to one that I have complete control over.

I obtained the domain jamesbromberger.com many years ago, initially looking to have it as my consulting brand. However, the much better name Nephology came along (the study of clouds), so jamesbrombegrer.com was somewhat unused… until now.

It turns out there’s quite a bit involved when not just changing email address (how many places is it used?), but also redeploying your digital services to a new domain — starting with this blog.

After a few days of frenetic activity, its now mostly done. The old (personal) email address still works, and will do for the foreseeable future, but eventually I will decommission the SMTP reception for it. The old website at www.james.rcpt.to has a message to signpost people to the new domain. The old domain is still accepting SMTP. This blog is now at blog.jamesbromberger.com. My QR code generation service is at qr.jamesbromberger.com.

I think in the last 48 hours I have updated over 100 online services that have my email address: Government agencies, banking, insurance and other financial services. Loyalty programs. Airlines. Clubs and Associations. Vendors.

What I have seen from changing email is that some services permit this, and others have it strictly controlled and not user serviceable. Most that do permit users to change email addresses, verify the new email destination by sending TOTP codes or magic links. Some also re-verify the old address you are leaving, which luckily for me is still working. A few required a mobile phone MFA when doing this activity.

So after almost 30 years of james.rcpt.to and james_AT_rcpt.to, it’s time for a change.

You can email me at james_AT_jamesbromberger.com, or for consulting discussions, james_AT_nephology.net.au.

Network Error Logging (NEL) Tools

Historically in web development, once a site was published, and users were happy accessing content, the only visibility we would see were access logs, recording each item being fetches from the servers we control.

Over time, web developers added JavaScript tracking codes, which as with Google Analytics, which would record data to a dedicated endpoints that would then produce analytics reports.

And that’s where things stopped for a long time.

The user experience, or any issues they get, were never seen. If a JavaScript exception happened out on the Internet with a user, the developers would almost never hear about it unless that person submitted a bug report or kicked up a fuss on social media — enough to get someone’s attention. Occasionally sites would have a security.txt document that would list a security contact, to avoid the issue of tracking down someone within an organisation how actually knows how the web site works and who is responsible.

However, over the last 10+ years the state of error reporting in the browser has matured, but very few sites have publicly implemented it at this time. This is NEL: Network Error Logging.

I say publicly, as the error reporting is also useful to implement in development and test environments, for developers to get their hands on reports.

Support for collecting and submitting NEL has been improving, as shown in https://caniuse.com/mdn-http_headers_nel. Still we don’t yet see Firefox or Safari implementing this yet as at 2026…

I have written and released (Creative Commons) a set of tools on GitHub that help you implement and test NEL.

What will NEL tell me?

  • DNS Phase (dns): Errors that occur during domain name resolution.
    • dns.unreachable: The user’s DNS server is unreachable.
    • dns.name_not_resolved: The DNS server responded but could not resolve an IP address.
    • dns.failed: DNS lookup failed for other reasons (e.g., SERVFAIL).
    • dns.address_changed: DNS address changed unexpectedly.
  • Connection Phase (connection): Errors during TCP/TLS or socket establishment.
    • Examples include TCP connection timeouts (tcp.timed_out), refused connections (tcp.refused), or TLS/certificate validation errors (tls.cert.authority_invalid).
  • Application Phase (application): Errors occurring during the transmission or reception of HTTP request and response data (including HTTP 4xx and 5xx status codes or protocol errors).
  • Unknown Phase (unknown): Unclassified or general network drop-offs.

The NEL Endpoint

One of the first things you need is an endpoint to receive your reports. You can have as many of these as you like, such as for production environments versus non-production.

The NEL endpoint I have templated is standard HTTPS service listening to the network for a submission, with a custom hostname and a matching, valid TLS certificate.

My implementation to stand up in an AWS account from the CloudFormation template put reports that are submitted into a DynamoDB table. The operational cost of this should only be a few cents per month: its a Serverless implmentation.

Simulating NEL Reports to the Endpoint

The second thing you may want is to send some test submissions into your NEL server, as in the real world, these come in when they are ready. You can point this script at your own endpoint, and confirm that reports are being accepted and populated into your table.

If you want to force YOUR OWN Chrome browser to send reports in more rapidly, then run the Chrome executable with the flag –short-reporting-delay, as shown https://developer.chrome.com/docs/capabilities/web-apis/reporting-api.

Checking your Server HTTP Headers for NEL

Actually, you’ll need at least two headers: the NEL header, and then either the older Report-To, or the newer Reporting-Endpoints header. So the third item I am releasing is something that connects to your web site, and inspects the configuration of these headers.

Tuning the number of reports

There’s two tuning variables you can set in the NEL header: success_fraction, and failure_fraction. Each of these are a float number between 0 and 1, and they default to zero. If you want to see a sample of the failures that your clients are seeing, then increase that to a non-zero value: in your non-production environments, you could use 1. In the real world production, you probably only want to get 1% of error reports, depending on the volume of traffic you receive from the web. You can tune accordingly.

Get these on GitHub

You’ll find the three items in GitHub: https://github.com/JamesBromberger/network-error-logging-tools

Why use these?

In production – wouldn’t you like to get reports from the real world users, instead of being in the dark about any problems your clients are experiencing? This reminds me of a quote from Ian Fleming’s James Bond: Golden Eye:

Bond: Are these pictures live?
M: Yes, unlike the Americans, we prefer not to get our bad news from CNN.

In Non-production: this can help diagnose issues you are seeing with your deployments, and (as above) perhaps to a dedicated NEL endpoint for non-production sites. Adjust the Reporting-Endpoints URLs accordingly.