build 7bbbddf7 | content blog-content@c8490fa · 338 posts | profiles 20 · corpus 267 | 0 skipped | | format
apiVersion: soultec.ch/v1kind: Postmetadata: name: how-to-renew-the-sts-signing-root-certificate-in-vcenter locale: en labels: author: dario-doerflinger series: how-to capability/virtualization: 1.37 capability/security: 2.16 vendor/vmware: 0.88 annotations: source: blog-content/posts/en/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md route: /en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter/ schema: /nerd/schema/posts.json markdown: /en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter.mdspec: title: Renew the STS Signing Root Certificate in vCenter date: 2025-05-23 author: dario-doerflinger locale: en summary: >- I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. capabilities: [virtualization, security] vendors: [vmware] series: how-to hero: >- /blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/hero.webp legacySlug: how-to-renew-the-sts-signing-root-certificate-in-vcenter migrated: 2026-08-24 comments: 1 draft: false sections: - body: | I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. This was unusual because this environment, like many others, lets the VCMA (VMware Certificate Management Authority) handle the Host certificates and this means the certificate renewal happens automatically. - heading: "

Root-Cause: STS Signing Certificate Expiration

"
body: | Upon investigating the environment it became clear what was happening. The Root Certificate that was used to issue the certificates was about to expire. This meant that all Certificates it issued would only be valid until the expiration date of the CA Root Certificate. ![Root Certificate Expiration](/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/01.webp) - heading:

Renewing the CA STS Signing Root Certificate

body: | The following are the commands used to renew that certificate. Please make sure to take a snapshot of your vCenter before issuing these commands. ```bash cp /usr/lib/vmware-vmca/share/config/certool.cfg /tmp/vcma.cfg cd /usr/lib/vmware-vmca/bin/ ./certool --genselfcacert --outprivkey /tmp/key.key --outcert /tmp/vcma.cer --config /tmp/vcma.cfg ./certool --rootca --cert /tmp/vcma.cer --privkey /tmp/key.key service-control --stop --all service-control --start vmafdd service-control --start vmdird service-control --start vmcad /usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/vcma.cer service-control --start --all ``` First we copy the template to /tmp/vcma.cfg. Then we change directory to where the tool "certool" is located (not to be confused with the command certtool!). Next we'll use that command to generate a CA Certificate where we output the key and the certficate to the /tmp folder. We'll use the template we copied as the config. Then we set the Root CA command by pointing to the certificate we just generated. Afterwards we stop all services, except for three services that we need and then we publish our new certficate to the trusted Certificates store. As the last command we start the rest of the services again. After doing these steps we can click "Refresh with vCenter Certificate" and then should see a new Certificate that is valid for ten years. - heading:

Next Steps

body: | If you're interested in more of the advanced Features of vSphere, VCF or any other VMware product feel free to [reach out to us at any time](https://soultec.ch/contact-us/). We will be at VMware Explore 2025 in Las Vegas, hit us up on [LinkedIn](https://www.linkedin.com/company/76981260/) to meetup for a chat.status: corpus: 267 comments: 1 alsoLike: - {ref: posts/how-to-broadcom-download-token, score: 1.00} - {ref: posts/how-to-broadcom-support-portal-quick-links, score: 1.00} - {ref: solutions/vmware/vmware-cloud-foundation/addon/advanced-cyber-compliance, score: 1.00}
{ "apiVersion": "soultec.ch/v1", "kind": "Post", "metadata": { "name": "how-to-renew-the-sts-signing-root-certificate-in-vcenter", "locale": "en", "labels": { "author": "dario-doerflinger", "series": "how-to", "capability/virtualization": "1.37", "capability/security": "2.16", "vendor/vmware": "0.88" }, "annotations": { "source": "blog-content/posts/en/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md", "route": "/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter/", "schema": "/nerd/schema/posts.json", "markdown": "/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md" } }, "spec": { "title": "Renew the STS Signing Root Certificate in vCenter", "date": "2025-05-23", "author": "dario-doerflinger", "locale": "en", "summary": "I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire.", "capabilities": [ "virtualization", "security" ], "vendors": [ "vmware" ], "series": "how-to", "hero": "/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/hero.webp", "legacySlug": "how-to-renew-the-sts-signing-root-certificate-in-vcenter", "migrated": "2026-08-24", "comments": 1, "draft": false }, "sections": [ { "body": "I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. This was unusual because this environment, like many others, lets the VCMA (VMware Certificate Management Authority) handle the Host certificates and this means the certificate renewal happens automatically." }, { "heading": "

Root-Cause: STS Signing Certificate Expiration

",
"body": "Upon investigating the environment it became clear what was happening. The Root Certificate that was used to issue the certificates was about to expire. This meant that all Certificates it issued would only be valid until the expiration date of the CA Root Certificate.\n\n![Root Certificate Expiration](/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/01.webp)" }, { "heading": "

Renewing the CA STS Signing Root Certificate

",
"body": "The following are the commands used to renew that certificate. Please make sure to take a snapshot of your vCenter before issuing these commands.\n\n```bash\ncp /usr/lib/vmware-vmca/share/config/certool.cfg /tmp/vcma.cfg\ncd /usr/lib/vmware-vmca/bin/\n./certool --genselfcacert --outprivkey /tmp/key.key --outcert /tmp/vcma.cer --config /tmp/vcma.cfg\n./certool --rootca --cert /tmp/vcma.cer --privkey /tmp/key.key\nservice-control --stop --all\nservice-control --start vmafdd\nservice-control --start vmdird\nservice-control --start vmcad\n/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/vcma.cer\nservice-control --start --all\n```\n\nFirst we copy the template to /tmp/vcma.cfg. Then we change directory to where the tool \"certool\" is located (not to be confused with the command certtool!).\n\nNext we'll use that command to generate a CA Certificate where we output the key and the certficate to the /tmp folder. We'll use the template we copied as the config.\n\nThen we set the Root CA command by pointing to the certificate we just generated.\n\nAfterwards we stop all services, except for three services that we need and then we publish our new certficate to the trusted Certificates store.\n\nAs the last command we start the rest of the services again.\n\nAfter doing these steps we can click \"Refresh with vCenter Certificate\" and then should see a new Certificate that is valid for ten years." }, { "heading": "

Next Steps

",
"body": "If you're interested in more of the advanced Features of vSphere, VCF or any other VMware product feel free to [reach out to us at any time](https://soultec.ch/contact-us/). We will be at VMware Explore 2025 in Las Vegas, hit us up on [LinkedIn](https://www.linkedin.com/company/76981260/) to meetup for a chat." } ], "status": { "corpus": 267, "comments": 1, "alsoLike": [ { "ref": "posts/how-to-broadcom-download-token", "score": "1.00" }, { "ref": "posts/how-to-broadcom-support-portal-quick-links", "score": "1.00" }, { "ref": "solutions/vmware/vmware-cloud-foundation/addon/advanced-cyber-compliance", "score": "1.00" } ] }}
apiVersion = "soultec.ch/v1"kind = "Post"[metadata]name = "how-to-renew-the-sts-signing-root-certificate-in-vcenter"locale = "en"[metadata.labels]author = "dario-doerflinger"series = "how-to""capability/virtualization" = "1.37""capability/security" = "2.16""vendor/vmware" = "0.88"[metadata.annotations]source = "blog-content/posts/en/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md"route = "/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter/"schema = "/nerd/schema/posts.json"markdown = "/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md"[spec]title = "Renew the STS Signing Root Certificate in vCenter"date = 2025-05-23author = "dario-doerflinger"locale = "en"summary = "I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire."capabilities = ["virtualization", "security"]vendors = ["vmware"]series = "how-to"hero = "/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/hero.webp"legacySlug = "how-to-renew-the-sts-signing-root-certificate-in-vcenter"migrated = 2026-08-24comments = 1draft = false[[sections]]body = "I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. This was unusual because this environment, like many others, lets the VCMA (VMware Certificate Management Authority) handle the Host certificates and this means the certificate renewal happens automatically."[[sections]]heading = "

Root-Cause: STS Signing Certificate Expiration

"
body = '''Upon investigating the environment it became clear what was happening. The Root Certificate that was used to issue the certificates was about to expire. This meant that all Certificates it issued would only be valid until the expiration date of the CA Root Certificate.![Root Certificate Expiration](/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/01.webp)'''[[sections]]heading = "

Renewing the CA STS Signing Root Certificate

"
body = '''The following are the commands used to renew that certificate. Please make sure to take a snapshot of your vCenter before issuing these commands.```bashcp /usr/lib/vmware-vmca/share/config/certool.cfg /tmp/vcma.cfgcd /usr/lib/vmware-vmca/bin/./certool --genselfcacert --outprivkey /tmp/key.key --outcert /tmp/vcma.cer --config /tmp/vcma.cfg./certool --rootca --cert /tmp/vcma.cer --privkey /tmp/key.keyservice-control --stop --allservice-control --start vmafddservice-control --start vmdirdservice-control --start vmcad/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/vcma.cerservice-control --start --all```First we copy the template to /tmp/vcma.cfg. Then we change directory to where the tool "certool" is located (not to be confused with the command certtool!).Next we'll use that command to generate a CA Certificate where we output the key and the certficate to the /tmp folder. We'll use the template we copied as the config.Then we set the Root CA command by pointing to the certificate we just generated.Afterwards we stop all services, except for three services that we need and then we publish our new certficate to the trusted Certificates store.As the last command we start the rest of the services again.After doing these steps we can click "Refresh with vCenter Certificate" and then should see a new Certificate that is valid for ten years.'''[[sections]]heading = "

Next Steps

"
body = "If you're interested in more of the advanced Features of vSphere, VCF or any other VMware product feel free to [reach out to us at any time](https://soultec.ch/contact-us/). We will be at VMware Explore 2025 in Las Vegas, hit us up on [LinkedIn](https://www.linkedin.com/company/76981260/) to meetup for a chat."[status]corpus = 267comments = 1[[status.alsoLike]]ref = "posts/how-to-broadcom-download-token"score = "1.00"[[status.alsoLike]]ref = "posts/how-to-broadcom-support-portal-quick-links"score = "1.00"[[status.alsoLike]]ref = "solutions/vmware/vmware-cloud-foundation/addon/advanced-cyber-compliance"score = "1.00"
<?xml version="1.0" encoding="UTF-8"?><manifest kind="Post"> <apiVersion>soultec.ch/v1</apiVersion> <metadata> <name>how-to-renew-the-sts-signing-root-certificate-in-vcenter</name> <locale>en</locale> <labels> <author>dario-doerflinger</author> <series>how-to</series> <entry key="capability/virtualization">1.37</entry> <entry key="capability/security">2.16</entry> <entry key="vendor/vmware">0.88</entry> </labels> <annotations> <source>blog-content/posts/en/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md</source> <route>/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter/</route> <schema>/nerd/schema/posts.json</schema> <markdown>/en/insights/how-to-renew-the-sts-signing-root-certificate-in-vcenter.md</markdown> </annotations> </metadata> <spec> <title>Renew the STS Signing Root Certificate in vCenter</title> <date>2025-05-23</date> <author>dario-doerflinger</author> <locale>en</locale> <summary>I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire.</summary> <capabilities> <item>virtualization</item> <item>security</item> </capabilities> <vendors> <item>vmware</item> </vendors> <series>how-to</series> <hero>/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/hero.webp</hero> <legacySlug>how-to-renew-the-sts-signing-root-certificate-in-vcenter</legacySlug> <migrated>2026-08-24</migrated> <comments>1</comments> <draft>false</draft> </spec> <sections> <section> <body>I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. This was unusual because this environment, like many others, lets the VCMA (VMware Certificate Management Authority) handle the Host certificates and this means the certificate renewal happens automatically.</body> </section> <section> <heading>

Root-Cause: STS Signing Certificate Expiration

</heading>
<body>Upon investigating the environment it became clear what was happening. The Root Certificate that was used to issue the certificates was about to expire. This meant that all Certificates it issued would only be valid until the expiration date of the CA Root Certificate.![Root Certificate Expiration](/blog-assets/how-to-renew-the-sts-signing-root-certificate-in-vcenter/01.webp) </body> </section> <section> <heading>

Renewing the CA STS Signing Root Certificate

</heading>
<body>The following are the commands used to renew that certificate. Please make sure to take a snapshot of your vCenter before issuing these commands.```bashcp /usr/lib/vmware-vmca/share/config/certool.cfg /tmp/vcma.cfgcd /usr/lib/vmware-vmca/bin/./certool --genselfcacert --outprivkey /tmp/key.key --outcert /tmp/vcma.cer --config /tmp/vcma.cfg./certool --rootca --cert /tmp/vcma.cer --privkey /tmp/key.keyservice-control --stop --allservice-control --start vmafddservice-control --start vmdirdservice-control --start vmcad/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/vcma.cerservice-control --start --all```First we copy the template to /tmp/vcma.cfg. Then we change directory to where the tool "certool" is located (not to be confused with the command certtool!).Next we'll use that command to generate a CA Certificate where we output the key and the certficate to the /tmp folder. We'll use the template we copied as the config.Then we set the Root CA command by pointing to the certificate we just generated.Afterwards we stop all services, except for three services that we need and then we publish our new certficate to the trusted Certificates store.As the last command we start the rest of the services again.After doing these steps we can click "Refresh with vCenter Certificate" and then should see a new Certificate that is valid for ten years. </body> </section> <section> <heading>

Next Steps

</heading>
<body>If you're interested in more of the advanced Features of vSphere, VCF or any other VMware product feel free to [reach out to us at any time](https://soultec.ch/contact-us/). We will be at VMware Explore 2025 in Las Vegas, hit us up on [LinkedIn](https://www.linkedin.com/company/76981260/) to meetup for a chat.</body> </section> </sections> <status> <corpus>267</corpus> <comments>1</comments> <alsoLike> <item> <ref>posts/how-to-broadcom-download-token</ref> <score>1.00</score> </item> <item> <ref>posts/how-to-broadcom-support-portal-quick-links</ref> <score>1.00</score> </item> <item> <ref>solutions/vmware/vmware-cloud-foundation/addon/advanced-cyber-compliance</ref> <score>1.00</score> </item> </alsoLike> </status></manifest>
How-To · 2025-05-23

Renew the STS Signing Root Certificate in vCenter

I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire.

2025-05-23Date
Dario DörflingerAuthor
2Min read
Topics Virtualization 1.37 Security 2.16
Vendors VMware 0.88

I recently had a call from a customer that received multiple alerts about their ESXi Hosts certificate was about to expire. This was unusual because this environment, like many others, lets the VCMA (VMware Certificate Management Authority) handle the Host certificates and this means the certificate renewal happens automatically.

Root-Cause: STS Signing Certificate Expiration

Upon investigating the environment it became clear what was happening. The Root Certificate that was used to issue the certificates was about to expire. This meant that all Certificates it issued would only be valid until the expiration date of the CA Root Certificate.

Root Certificate Expiration

Renewing the CA STS Signing Root Certificate

The following are the commands used to renew that certificate. Please make sure to take a snapshot of your vCenter before issuing these commands.

cp /usr/lib/vmware-vmca/share/config/certool.cfg /tmp/vcma.cfg
cd /usr/lib/vmware-vmca/bin/
./certool --genselfcacert --outprivkey /tmp/key.key --outcert /tmp/vcma.cer --config /tmp/vcma.cfg
./certool --rootca --cert /tmp/vcma.cer --privkey /tmp/key.key
service-control --stop --all
service-control --start vmafdd
service-control --start vmdird
service-control --start vmcad
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/vcma.cer
service-control --start --all

First we copy the template to /tmp/vcma.cfg. Then we change directory to where the tool “certool” is located (not to be confused with the command certtool!).

Next we’ll use that command to generate a CA Certificate where we output the key and the certficate to the /tmp folder. We’ll use the template we copied as the config.

Then we set the Root CA command by pointing to the certificate we just generated.

Afterwards we stop all services, except for three services that we need and then we publish our new certficate to the trusted Certificates store.

As the last command we start the rest of the services again.

After doing these steps we can click “Refresh with vCenter Certificate” and then should see a new Certificate that is valid for ten years.

Next Steps

If you’re interested in more of the advanced Features of vSphere, VCF or any other VMware product feel free to reach out to us at any time. We will be at VMware Explore 2025 in Las Vegas, hit us up on LinkedIn to meetup for a chat.

Comments

1 comments from the previous blog. We no longer take new ones here.

Stefan Wehrle 2025-08-21

Great description. Works fine and saved our day 😉

You might also like