Use Profile-based certificate renewal in macOS - Apple Support (2024)

This article has been archived and is no longer updated by Apple.

macOS Catalina and earlier include support to renew certificates acquired from a configuration profile.

You can use macOS to renew your certificate enrollment with your configuration profile via two methods:

  • Simple certificate enrollment protocol (SCEP), which often uses a Microsoft certificate authority (CA) Network Device Enrollment Service (NDES).

  • DCOM/RPC (ADCertificate), which relies on a Microsoft Windows Server Certificate Authority (CA).

About certificates

In macOS, you can get and renew your certificate with the same profile. macOS alerts you as a certificate nears its expiration date:

To update a certificate, in the Profiles pane of System Preferences, click the certificate profile, then click Update.

Renew with ADCertificate

In the Profiles pane of System Preferences, click the Update button to create a new private key. The new private key is used to sign the certificate request that’s sent to the CA. The new certificate from the CA is paired with the new private key.

The original certificate and private key that were created when the profile was installed stay in the keychain.

Learn how to automatically renew certificates delivered via a configuration profile.

Renew with SCEP

Click the Update button in the Profiles pane of System Preferences. The current private key is used to sign the certificate request that’s sent to the CA. When CA renews the certificate, it pairs it with the original private key.

The original certificate that was created when the profile was installed stays in the keychain.

Renew through the command line

In macOS 10.12 Sierra and later, you can renew the ADCertificate and SCEP profile-generated certificates with the /usr/bin/profiles command. Use the following syntax in the command line:

profiles -W -p <profileIdentifier value>

You can find the "profileIdentifier" value by listing the installed profiles with the -L command argument.

Set up renewal notifications

Yosemite and later versions of macOS display a daily notification when the certificate has less than 14 days until it expires.

You can change the daily notification time with two configuration parameters called CertificateRenewalTimeInterval and CertificateRenewalTimePercent:

Parameter

Application Method

Allowed Values

Value Type

CertificateRenewalTimeInterval

Profile Manager configuration profile: ADCert or SCEP

Greater than 14 days, or less than the maximum lifetime of the certificate in days

Days (integer)

CertificateRenewalTimePercent

/usr/sbin/defaults

Between 1 and 50

Percentage (integer)

You can apply the CertificateRenewalTimePercent with syntax like this:

sudo defaults write /Library/Preferences/com.apple.mdmclient CertificateRenewalTimePercent -int 25

You can use these two settings together:

  • If CertificateRenewalTimeInterval is defined in the profile, use that value.

  • If CertificateRenewalTimeInterval isn't defined in the profile, but is defined on the client, use the value of the CertificateRenewalTimePercent.

If neither value is defined, the time interval is set to 14 days.

Learn more

The profile you used to create the ADCert or SCEP certificate might be removed. If you use Mavericks or a later version of macOS, the most recent certificate and private key are removed from the keychain, but the original certificate isn’t. You have to delete it.

The profile you used to get the certificate might have other payloads linked to the certificate. Examples of payloads include Network: EAP-TLS, VPN: OnDemand certificate-based authentication. When the certificate is renewed, the dependent configurations are updated for the new certificate.

After a certificate is renewed, the installed profile is associated with the new certificate. When a certificate is renewed, no additional profiles are installed or created.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsem*nt. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Published Date:

Use Profile-based certificate renewal in macOS - Apple Support (2024)

FAQs

How do I renew certificates on my Mac? ›

Click Apple Push Certificates portal. In the new tab, sign in to the Apple portal with the Apple ID and password you used when you created the certificate. Next to the certificate you want to renew, click Renew and accept the terms of use.

How do I fix expired certificates on my Mac? ›

Check date & time on Mac

Time on your Mac should be in sync with the server your device is connected to. So, when you have an invalid certificate error, you need to check your date and time settings. Within a few minutes, the issue should disappear.

How do I enable certificates on my Mac? ›

In the Keychain Access app on your Mac, select either the login or System keychain. Drag the certificate file onto the Keychain Access app. If you're asked to provide a name and password, type the name and password for an administrator user on this computer.

How do I fix a certificate not trusted on a Mac? ›

In the Keychain Access app on your Mac, select a keychain from one of the keychains lists, then double-click a certificate. Next to Trust, click the arrow to display the trust policies for the certificate. To override the trust policies, choose new trust settings from the pop-up menus.

What happens when Apple certificate expires? ›

If your certificate expires, users can still install packages that were signed with this certificate as long as the package includes a trusted timestamp. Previously installed apps will continue to run.

Is it OK to delete expired certificates on Mac? ›

Expired certificates can be safely deleted. They were likely generated as a result of a problem authenticating with iCloud.

How to renew your Apple Developer certificate and Provisioning Profiles? ›

If you enable or disable app services or if a provisioning profile expires, you need to regenerate the provisioning profile. In Certificates, Identifiers & Profiles, click Profiles in the sidebar. Under Provisioning Profiles, select the invalid or expired provisioning profile, then click Edit. Click Generate.

What happens if a MDM push certificate expires? ›

If a mobile device enrolled via ADE is on an expired push certificate, per Apple, the device must be wiped. Manually enrolled (Unsupervised): For unsupervised devices, the MDM profile with the expired push certificate can be removed locally.

Can an expired certificate be renewed? ›

You cannot update an existing SSL certificate. Renewing an expired SSL certificate is a straightforward process. Here are the steps you need to follow to renew an SSL certificate.

How do I see expired certificates on Apple? ›

Keychain Access lets you manage your certificates and keychains. Select my certificates , Expired certificates can be viewed - view - show expired certificates .

What happens when provisioning profile expires? ›

If your distribution provisioning profile expires, the apps that use that provisioning profile will stop working.

How do I change certificate settings on Mac? ›

In the Keychain Access app on your Mac, select a keychain from one of the keychains lists, then double-click a certificate. Next to Trust, click the arrow to display the trust policies for the certificate. To override the trust policies, choose new trust settings from the pop-up menus.

Where are the user certificates on a Mac? ›

In macOS, certificates are part of your digital identity and are stored in your keychain. Keychain Access lets you manage your certificates and keychains.

Does Apple certification expire? ›

If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you'll no longer be able to sign new passes or send updates to existing passes. If your certificate is revoked, your passes will no longer function properly.

Top Articles
Latest Posts
Article information

Author: Otha Schamberger

Last Updated:

Views: 6531

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Otha Schamberger

Birthday: 1999-08-15

Address: Suite 490 606 Hammes Ferry, Carterhaven, IL 62290

Phone: +8557035444877

Job: Forward IT Agent

Hobby: Fishing, Flying, Jewelry making, Digital arts, Sand art, Parkour, tabletop games

Introduction: My name is Otha Schamberger, I am a vast, good, healthy, cheerful, energetic, gorgeous, magnificent person who loves writing and wants to share my knowledge and understanding with you.