NSURLErrorDomain error 1012

When we encounter NSURLErrorDomain error -1012 on Mac, it typically means our device is unable to connect to Apple’s servers when attempting to download a software update, and there are a number of steps we can take to fix it. If you’ve already tried troubleshooting and you can’t fix NSURLErrorDomain error -1012, reach out to our team of macOS experts at any time of the day through MacKeeper’s Premium Services.

System Requirements: macOS 10.11 or later

More than 60 Million Downloads

i

AV-TEST certified

i

Notarized by Apple

i

AV-TEST is an independent lab that checks the effectiveness of antivirus apps against real malware samples.

The notarization by Apple is a security measure to check if software is free from malicious components.

Trustpilot is an independent digital platform that hosts insightful and honest consumer reviews.

NSURLErrorDomain error 1012
Written By   Killian Bell
Published: March 27, 2026

What is NSURLErrorDomain error 1012 on Mac?

In our experience, NSURLErrorDomain error -1012 occurs when a Mac is unable to maintain a connection to Apple’s servers to verify the server’s identity—sometimes as a result of network outages or restrictions, outdated system software, certificate issues, and software glitches that prevent a macOS update from being downloaded successfully. Depending on the cause, there are numerous ways we can fix NSURLErrorDomain error -1012.

Common causes of NSURLErrorDomain error 1012 on Mac

Like many macOS errors, NSURLErrorDomain error -1012 doesn’t have a single root cause; it actually stems from various different issues that we might face on Mac. These include network failures, such as a bad connection or incorrect firewall settings, SSL certificate issues, and out of date MacBook software. Here’s the full list of common causes we’ve found for NSURLErrorDomain error -1012:

1. Invalid SSL certificates

We sometimes find that users run into the NSURLErrorDomain error because their Mac can’t verify the authenticity of Apple’s servers as a result of old or incorrect SSL certificates. This almost always occurs when running older versions of macOS.

2. Outdated macOS

Outdated macOS versions don’t just lead to invalid SSL certificates; they also increase the likelihood of other OS glitches and update incompatibilities that can lead to the NSURLErrorDomain error.

3. DNS problems

Incorrect or potentially corrupt DNS settings can cause all kinds of connectivity issues, including an inability to access Apple’s update servers when trying to update macOS.

4. Apple Configurator problems

If you use Apple Configurator to manage devices from your Mac, we’ve noticed that NSURLErrorDomain error -1012 can occur due to an expired certificate.

5. Apps hold old data

Apple Configurator isn’t the only app that can throw up a NSURLErrorDomain error -1012 message as a result of old certificate data, so be on the lookout for outdated cache files.

6. Network restrictions

In our experience, poor or unstable connectivity, incorrect firewall or proxy settings, and misconfigured antivirus apps are the most common cause of the NSURLErrorDomain message.

A note from our experts: 

 

As there are many causes of the NSURLErrorDomain error on Mac, we find users often have difficulty addressing the issue themselves. But don’t worry! If you need help with a NSURLErrorDomain error -1012 Mac fix, simply reach out to our professional team of experts through MacKeeper’s Premium Services from Clario Tech. They’re available 24/7 and are trained to provide support for almost any problem your Mac might be experiencing.

 

Here’s how to get in touch:

  1. Install MacKeeper on your Mac.
  2. In the sidebar, select Premium Services, then click Chat Now.
  3. Describe the issue you’re dealing with in the chat box to get expert help quickly.
MacKeeper's Premium Services on Mac. If you're encountering the NSURLErrorDomain error -1012 message, reach out to MacKeeper's Premium Services for expert help 24/7.
Step 1. Select Premium Services, then click Chat Now
MacKeeper's Premium Services on Mac. Use this to get professional help when you run into the NSURLErrorDomain error -1012 message.
Step 2. Describe your problem for expert help

How to fix NSURLErrorDomain error 1012?

There are numerous steps we can take to alleviate NSURLErrorDomain error -1012 on Mac, from a simple system restart to renewing the Mac’s DHCP lease—or even clearing our network settings if necessary. We recommend making sure your system is running the latest available macOS release first, then try the following solutions until NSURLErrorDomain error -1012 no longer appears.

1. Restart device

A system restart is often enough to fix strange macOS issues, so let’s try that first:

  1. In the Apple menu, choose Restart.
  2. Click Restart again to confirm, then see if NSURLErrorDomain error -1012 stops after your Mac has rebooted.
The Restart option inside the Apple menu on Mac. If you see the NSURLErrorDomain error -1012 message on macOS, try restarting your computer first to see if that fixes it.
Step 1. In the Apple menu, choose Restart
The Restart confirmation prompt on Mac. Trying restarting your machine when you encounter the NSURLErrorDomain error -1012 message to see if that helps.
Step 2. Select Restart again to confirm

An extra hint form us: 

 

As part of the restart process, you can clear the NVRAM of your Mac if you wish. This clears some lower-level hardware settings and can help when we face macOS errors.

2. Check Internet

One of the most effective ways to fix NSURLErrorDomain error -1012 is to eliminate any internet connectivity issues. Follow these steps to check you have a reliable connection:

  1. Confirm your Mac is connected to the right Wi-Fi network.
  2. Visit a website in your browser to make sure you have an active internet connection.
  3. Use a site like speedtest.net to check your internet speed and stability.
  4. Switch to a faster or more stable network when possible if your current network is unreliable.
The Wi-Fi menu on Mac. When you run into the NSURLErrorDomain error -1012 error on Mac, confirm your computer is connected to the right network.
Step 1. Check you're connected to the right network
A website inside Google Chrome on Mac. Try accessing a webpage to confirm your internet is working when you encounter the NSURLErrorDomain error -1012 message.
Step 2. Try visiting a website in your browser
The speedtest.net website inside Google Chrome on Mac. Check your Mac's internet speed and stability to rule out connection issues when you see the NSURLErrorDomain error -1012 message.
Step 3. Run a speed test to check your connection

3. Renew DHCP lease

Renewing your Mac’s DHCP lease forces it to request new network configuration details—such as an IP address and subnet mask—from the router, which can lead to a more successful connection to Apple’s servers. Try this:

 

  1. In System Settings > Network, choose the connection type your Mac is using.
  2. Click the Details button next to your network’s name.
  3. Select TCP/IP, then click Renew DHCP Lease.
The Network menu inside System Settings on Mac. Select your Mac's network connection to renew its DHCP lease when you run into the NSURLErrorDomain error -1012 message.
Step 1. In System Settings, choose Network > Wi-Fi
The Network menu inside System Settings on Mac. Choose your network, then click Details to renew the DHCP lease and solve issues that cause the NSURLErrorDomain error -1012 message.
Step 2. Click Details
The option to Renew DHCP Lease in the Network menu on Mac. Select this option to resolve connection settings that can cause the NSURLErrorDomain error -1012 message.
Step 3. Click TCP/IP then click Renew DHCP Lease

4. Reset Network Settings (DNS)

When our Mac’s network settings become corrupt, it’s usually because of custom DNS settings that no longer work. Follow our instructions below to reset them:

  1. Go to System Settings > Network and select your connection type.
  2. Click Details.
  3. Choose DNS, then select any custom DNS servers in the list and click the – button to remove them.
The Network menu in System Settings on Mac. After selecting your connection type, you can reset your DNS settings to fix the NSURLErrorDomain error -1012.
Step 1. In Network, choose your active connection
The Network menu inside System Settings on Mac. Click Details next to your active connection to reset your network DNS settings when running into NSURLErrorDomain error -1012.
Step 2. Choose Details
The DNS settings inside System Settings > Network on Mac. Remove any custom DNS servers to solve NSURLErrorDomain error -1012 issues.
Step 3. Remove any custom DNS servers

5. Clear DNS cache

Clearing our Mac’s DNS cache is different to resetting our DNS settings, but it can also help when you’re trying to find a NSURLErrorDomain error -1012 Mac fix. Here’s how to flush the DNS cache:

  1. In Finder, go to Applications > Utilities and launch Terminal.
  2. Type sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder and press return.
The Terminal app inside the Utilities folder on Mac. Use Terminal to clear your Mac's DNS cache when you see the NSURLErrorDomain error -1012 message.
Step 1. Launch Terminal from the Utilities folder
Terminal on Mac showing a command to clear the Mac's DNS cache. Try clearing the DNS cache to fix NSURLErrorDomain error -1012.
Step 2. Enter this command, then hit return

We know some users like to clear cache data for other apps when they run into issues in macOS, but for NSURLErrorDomain error -1012, this usually isn’t necessary.

6. Delete App Store preferences files

If you find that NSURLErrorDomain error -1012 appears when attempting to update your Mac apps, it’s possible your App Store preference files are to blame. Follow these steps to reset them:

  1. Open Finder, then select Go > Go to Folder from the menu bar.
  2. Type ~/Library/Preferences/com.apple.appstore.plist and press return.
  3. Right-click the highlighted file and choose Move to Trash.
  4. Repeat the above steps for the ~/Library/Preferences/com.apple.appstore.plist.lockfile and ~/Library/Preferences/com.apple.softwareupdate.plist files.
  5. Once all three files are in the trash, empty it.
The Go to Folder option inside the Go menu on Mac. Navigate to the App Store preferences files and delete them to fix NSURLErrorDomain error -1012 when trying to update apps.
Step 1. In Finder, choose Go > Go to Folder
The Go to Folder option on Mac with a path to an App Store preferences file. Try deleting the App Store preferences files when you encounter the NSURLErrorDomain error -1012 message.
Step 2. Enter the file location and press return
An App Store preferences file in Finder on Mac. Delete all App Store files to reset App Store preferences when you see the NSURLErrorDomain error -1012 message.
Step 3. Delete the App Store preferences files
The option to Empty the Trash on Mac. After moving your App Store preferences files to the Trash, empty it to fix the NSURLErrorDomain error -1012 message.
Step 4. Empty the Trash

7. Check Firewalls

Incorrect firewall settings can prevent your Mac from properly communicating with Apple’s servers. Check your firewall like so:

  1. In System Settings > Network, choose Firewall.
  2. If your Mac’s firewall is enabled, click Options, then scan the settings to confirm they’re correct.
  3. Ensure Block all incoming connections is disabled and that Automatically allow built-in software to receive incoming connections is enabled.
The Firewall option inside System Settings > Network on Mac. Check your firewall settings when you encounter the NSURLErrorDomain error -1012 message to fix firewall issues.
Step 1. Go to Network > Firewall
The Options button inside System Settings > Network on Mac. Here, you can check your firewall settings to fix issues that can cause the NSURLErrorDomain error -1012 message.
Step 2. Click the Options button
The firewall settings inside System Settings > Network on Mac. Confirm your firewall settings are correct to avoid NSURLErrorDomain error -1012 on Mac
Step 3. Confirm your firewall settings are correct

8. Restart mDNSResponder

The mDNSResponder on Mac is a built-in daemon that takes care of certain connectivity features. When we start seeing NSURLErrorDomain error -1012, it can help to restart mDNSResponder like so:

  1. Launch Terminal from Applications > Utilities.
  2. Type sudo killall -HUP mDNSResponder and press enter.
Terminal inside Applications > Utilities on Mac. You can use Terminal to restart mDNSResponder when you encounter the NSURLErrorDomain error -1012 in macOS.
Step 1. Open Terminal from the Utilities folder
The command to restart the mDNSResponder on Mac. Try this to avoid the NSURLErrorDomain error -1012 message.
Step 2. Enter the command to restart mDNSResponder

9. Change catalogURL

When we encounter NSURLErrorDomain error -1012 while trying to update our Mac, we should try changing the catalogURL via Terminal to fix the issue. Here’s how:

  1. Open the Terminal app.
  2. Paste in sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://swscan.apple.com/content/catalogs/others/index-15-14-13-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog” then press return.
  3. Enter your Mac’s password when prompted, then press return again.
  4. Try updating your Mac again.
Terminal inside the Applications > Utilities folder on Mac. Use Terminal to change the catalogURL that can cause NSURLErrorDomain error -1012 messages on Mac.
Step 1. Launch Terminal
A command for changing the catalogURL in Terminal on Mac. Try using this command to fix the NSURLErrorDomain error -1012 message in macOS.
Step 2. Enter this command then press return

Conclusion

It’s not uncommon to see NSURLErrorDomain error -1012 on Mac, especially if you’re running an older version of macOS. There are many reasons why the error can occur, and therefore many ways to fix it. If you’re looking to fix NSURLErrorDomain error -1012 yourself, we recommend trying the solutions above, which have proven to be the most effective for us.

 

If you’re unable to get rid of the NSURLErrorDomain error on your MacBook Pro, our expert team is available to help you diagnose and eliminate the issue. Contact MacKeeper’s Premium Services day or night to get fast assistance from our professional team.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

Kernel Panic on Mac
Kernel Panic on Mac
Discord Stuck on Checking for Updates
Discord Stuck on Checking for Updates
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.