DEV Community

ServBay
ServBay

Posted on

How to Use Secure HTTPS Connections in Local Development and Testing Environments with ServBay

What is ServBay Local CA?

ServBay Local CA is a local Certificate Authority (CA) that issues trusted domain SSL certificates for websites (hosts) added by users on ServBay. This CA is automatically generated and installed on the user's system when they install ServBay, ensuring that users can use secure HTTPS connections during local development and testing.

How to find ServBay Local CA?

On macOS, users can find ServBay Local CA through the 'Keychain Access' tool. The specific steps are as follows:

  1. Open 'Keychain Access', which can be found by searching for Keychain Access in Spotlight.
  2. Select the System keychain in the left sidebar.
  3. Enter ServBay Local CA - 2023 ECC Root in the search bar.
  4. Find the certificate in the search results and double-click to view detailed information.

Image description

Resolving Certificate Errors

If users encounter certificate errors when using websites added by ServBay, it is likely due to incorrect installation of ServBay Local CA. Users can reinstall or delete the CA certificate through the following steps:

Reinstalling ServBay Local CA

  1. Open the ServBay application.
  2. Go to the management panel and select the Services option.
  3. Find the ServBay Root CA option.
  4. Click the Delete button, then the Install button, and follow the prompts to complete the reinstallation process.

Image description

Deleting ServBay Local CA
If reinstalling does not solve the problem, users can try deleting the existing CA certificate and then reinstalling:

  1. Open 'Keychain Access'.
  2. Find the ServBay Local CA - 2023 ECC Root certificate.
  3. Right-click the certificate and select Delete.
  4. Confirm the deletion operation.
  5. Follow the above reinstallation steps to reinstall ServBay Local CA.

Summary

By properly managing ServBay Local CA, users can ensure the use of secure HTTPS connections in the local development and testing environment. Reinstalling or deleting the CA certificate is a common solution when encountering certificate errors. Hopefully, this article can help you better manage local SSL root certificates, improving development efficiency and security.

Top comments (0)