# DK0005 Canno't load certificate

**URL:** <https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810>\
**Category:** Application Support\
**Created:** [February 11, 2025, 5:40pm UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810 "2025-02-11T17:40:15Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 11, 2025, 5:40pm UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/1 "2025-02-11T17:40:15Z")

</div>

Hi, I try to change port because my site wasn’t running.  
After that DevKinsta was stucks, I restart the computer now I’m with DK0005, if I see details in Docker the error is  
nginx: [emerg] cannot load certificate “/www/kinsta/ssl/testdomain.local2.crt”: BIO\_new\_file() failed (SSL: error:80000002

Thanks

---

<div class="post-metadata">

**Author:** ![merineth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/merineth/32/3022_2.png) [@merineth](https://community.kinsta.com/u/merineth)\
**Post date:** [February 12, 2025, 8:04am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/2 "2025-02-12T08:04:51Z")

</div>

Hi @Fabrice,

I am sorry to hear that you are having issues with DevKinsta after changing the port.  
In order for us to assist better, can you please provide the following?

DevKinsta Version:  
OS Version:  
Docker Desktop Version:

Can you please try and quit Docker Desktop manually, then restart DevKinsta and see if it will make a difference?

Please also send me the DevKinsta’s **main.log** file via private message. You can get the main.log file by clicking on the “Reveal log file in File Manager” under the Help and Support page in Devkinsta.

Looking forward to your response.

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 12, 2025, 8:14am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/3 "2025-02-12T08:14:31Z")

</div>

Hi,

thanks for the reply,.  
I forgot to say that I tried to change the domain that was no longer indicated in the devKinsta option, I added .local2 before the crash.

Yes I have already restarted the computer several times.

I am on windows 10 with the latest version of devKinsta and docker 4.29.  
Maybe if I can edit the configuration manually and tell it to go back to .local it would work? But I don’t know how to do it.  
Thanks I send the log file.

---

<div class="post-metadata">

**Author:** ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)\
**Post date:** [February 12, 2025, 9:55am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/4 "2025-02-12T09:55:20Z")

</div>

Hello there 👋

Merineth is offline, if you’ve sent her your main.log file, I am unable to view it. Please send it here, and I will redact it so that only our staff can see it.

Also, one more question, is this what you have changed?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6d2650df45f1f79bd7d7c380f302d725e3fa78c9.png)

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 12, 2025, 10:08am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/5 "2025-02-12T10:08:45Z")

</div>

Hello,

there is  
_main.log (redacted)_  
Yes it’s that I changed because it’s was empty I don’t know why.  
Since I tried I tried to generate the .local2 certificate and delete the devkinsta\_nginx container. Since when I restart I just have an error and the devkinsta\_nginx is not created.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/7/7049202f961343fb9210241be77d4a2df33d7b24.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)\
**Post date:** [February 12, 2025, 2:05pm UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/7 "2025-02-12T14:05:17Z")

</div>

Hello 👋

You are correct, there’s an issue starting devkinsta\_nginx.

Judging by the logs, there’s a container that is using it: ffae51383ec6f27230e228fda8685e7a769c9707853da4338afc8d58e86417ab

You can try running from shell or command line:

`docker kill ffae51383ec6f27230e228fda8685e7a769c9707853da4338afc8d58e86417ab`

This might cause data loss, so it would be good if you could create a backup of your DevKinsta data first.

Kind regards

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 12, 2025, 2:20pm UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/8 "2025-02-12T14:20:40Z")

</div>

Hello

thanks, I just backup the folder \wsl.localhost\docker-desktop-data\version-pack-data\community\docker\volumes\DevKinsta\public ?

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 12, 2025, 3:40pm UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/9 "2025-02-12T15:40:34Z")

</div>

Hi,

I’ve got this response  
Error response from daemon: cannot kill container: ffae51383ec6f27230e228fda8685e7a769c9707853da4338afc8d58e86417ab: No such container: ffae51383ec6f27230e228fda8685e7a769c9707853da4338afc8d58e86417ab

It’s ok I managed to restart devKinsta, the ssl folder was empty I copied the certificate that I had regenerated in the folder.  
I manage to access the interface, so I find myself with the initial problem that had made me change, the top domain level and the ports.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/3/383480675a7521a2c163e1965c53e43457b8dc4b.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/a/af0996a8dd2a0ff75976f8ccbb5119071f468cc8.png)

Thanks

---

<div class="post-metadata">

**Author:** ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)\
**Post date:** [February 13, 2025, 7:36am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/10 "2025-02-13T07:36:02Z")

</div>

It’s possible that DevKinsta has an issue updating your `hosts` file.

Can you please go to `C:\Windows\System32\drivers\etc\` and open hosts file.

You should have 4 lines there ideally, pointing to the localhost like this:

`127.0.0.1 (redacted)`  
`127.0.0.1 (redacted)`  
`::1 (redacted)`  
`::1 (redacted)`

Let me know if you have these lines in your `hosts`.

Kind regards

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 13, 2025, 7:53am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/11 "2025-02-13T07:53:29Z")

</div>

Thanks, it’s ok now I also change the port to 80/443.  
It’s working fine thanks for the help.  
is it possible to put the urls that you have just listed in private so that it remains confidential please?  
Thanks

---

<div class="post-metadata">

**Author:** ![VladimirM](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/vladimirm/32/2786_2.png) [@VladimirM](https://community.kinsta.com/u/VladimirM)\
**Post date:** [February 13, 2025, 7:57am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/12 "2025-02-13T07:57:41Z")

</div>

Hello Fabrice 👋

The URLs have been redacted. I’m glad that the issue is no longer present.

Let us know if you experience any other issues while working with DevKinsta.

Kind regards

---

<div class="post-metadata">

**Author:** ![Fabrice](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/fabrice/32/3833_2.png) [@Fabrice](https://community.kinsta.com/u/Fabrice)\
**Post date:** [February 13, 2025, 8:24am UTC](https://community.kinsta.com/t/dk0005-cannot-load-certificate/4810/13 "2025-02-13T08:24:28Z")

</div>

Thanks for the help.  
Have a good day!
