diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php
index <HASH>..<HASH> 100644
--- a/cli/Valet/Site.php
+++ b/cli/Valet/Site.php
@@ -93,6 +93,10 @@ class Site
      */
     function resecureForNewDomain($oldDomain, $domain)
     {
+        if (!$this->files->exists($this->certificatesPath())) {
+            return;
+        }
+
         $secured = $this->secured();
 
         foreach ($secured as $url) {
fix scan certificates directory error when first change domain