Answers.Body: <p>The Resource URL lookup uses the PHP setting curl.cainfo to look up a certificate file, e.g. CACert.pem to validate the server certificate.  I found the problem went away when I added the server certificate to that file.</p>
  
  <p>See <a href="https://lab.civicrm.org/dev/drupal/-/issues/114#note_34273" rel="nofollow noreferrer">Installing drupal 8 using civicrm-setup leads to "incorrect resource url" system status check errors</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-04-08T07:40:29.660Z
Answers.LastActivityDate: 2020-04-08T07:40:29.660Z
Answers.UserDisplayName: Stephen Palmstrom
Body: <p>I've just a done a clean install by the book of CiviCRM 5.24 on Drupal 7. The installation went smoothly. Now I'm seeing an alert about the Resource URL being incorrect (it isn't). I seem to recall that this was an issue a year or so ago. Is this a regression that has crept in to the latest version, or am I doing something wrong? I have other D7/Civi installs on the same server, all with earlier versions of CiviCRM, and none of them are exhibiting this behaviour.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-04T17:04:42.323Z
Comments.Text: Are you using a self-signed ssl certificate?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-05T08:42:25.350Z
Comments.Text: LetsEncrypt certificate
Comments.UserDisplayName: Graham
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-05T15:20:40.847Z
Comments.Text: Ok then here's a couple things to try: 1. Can the server itself look up the domain name, e.g. using command line nslookup or dig? 2. Put some debugging just after [line 867](https://github.com/civicrm/civicrm-core/blob/5.24.1/CRM/Utils/Check/Component/Env.php#L867) in CRM/Utils/Check/Component/Env.php to verify what url it's trying to fetch, e.g. add `CRM_Core_Error::debug_log_message($arrowUrl);` and then look in ConfigAndLog.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-04-05T17:28:58.507Z
Comments.Text: Looks like there might be an issue with the DNS servers that my server is using by default to look up the domain. It appears that my domain's records have not propagated to these servers, although I can reach the domain from elsewhere. Talking to my hosting provider...
Comments.UserDisplayName: Graham
Tags: <resource-urls>
Title: How do I fix the "Incorrect Resource URL" alert?
ThreadText: # How do I fix the "Incorrect Resource URL" alert?
  
  (Asked by: username_0 on 2020-04-04)
  
  I've just a done a clean install by the book of CiviCRM 5.24 on Drupal 7. The installation went smoothly. Now I'm seeing an alert about the Resource URL being incorrect (it isn't). I seem to recall that this was an issue a year or so ago. Is this a regression that has crept in to the latest version, or am I doing something wrong? I have other D7/Civi installs on the same server, all with earlier versions of CiviCRM, and none of them are exhibiting this behaviour.
  
  **Tags:** resource-urls
  
  > **Comments:**
  > **username_1**: Are you using a self-signed ssl certificate?  
  > **username_0**: LetsEncrypt certificate  
  > **username_1**: Ok then here's a couple things to try: 1. Can the server itself look up the domain name, e.g. using command line nslookup or dig? 2. Put some debugging just after [line 867](https://github.com/civicrm/civicrm-core/blob/5.24.1/CRM/Utils/Check/Component/Env.php#L867) in CRM/Utils/Check/Component/Env.php to verify what url it's trying to fetch, e.g. add `CRM_Core_Error::debug_log_message($arrowUrl);` and then look in ConfigAndLog.  
  > **username_0**: Looks like there might be an issue with the DNS servers that my server is using by default to look up the domain. It appears that my domain's records have not propagated to these servers, although I can reach the domain from elsewhere. Talking to my hosting provider...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-04-08. Score: 1
  
  The Resource URL lookup uses the PHP setting curl.cainfo to look up a certificate file, e.g. CACert.pem to validate the server certificate. I found the problem went away when I added the server certificate to that file.
  
  See [Installing drupal 8 using civicrm-setup leads to "incorrect resource url" system status check errors](https://lab.civicrm.org/dev/drupal/-/issues/114#note_34273)
  
  
  ---
  
  