Error: certificate has expired : renewing certificate doesn't work

Hi !
I have a new problem on my webapp.
My two URL : nougats-silvain.fr and api.nougats-silvain are marked as “unsecured connection”.

image

I can’t anymore build my app on Netlify:

$ nuxt generate
5:59:20 PM: [error] certificate has expired
5:59:20 PM:   at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
5:59:20 PM:   at TLSSocket.emit (node:events:513:28)
5:59:20 PM:   at TLSSocket._finishInit (node:_tls_wrap:953:8)
5:59:20 PM:   at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
5:59:20 PM: [error] Could not resolve routes
5:59:20 PM: [fatal] certificate has expired
5:59:20 PM:   at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
5:59:20 PM:   at TLSSocket.emit (node:events:513:28)
5:59:20 PM:   at TLSSocket._finishInit (node:_tls_wrap:953:8)
5:59:20 PM:   at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
5:59:20 PM: 
5:59:20 PM:    ╭────────────────────────────────────╮
5:59:20 PM:    │                                    │
5:59:20 PM:    │   ✖ Nuxt Fatal Error               │
5:59:20 PM:    │                                    │
5:59:20 PM:    │   Error: certificate has expired   │
5:59:20 PM:    │                                    │
5:59:20 PM:    ╰────────────────────────────────────╯
5:59:20 PM: 
5:59:20 PM: ​
5:59:21 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
5:59:20 PM:   "build.command" failed                                        
5:59:20 PM: ────────────────────────────────────────────────────────────────
5:59:20 PM: ​
5:59:20 PM:   Error message
5:59:20 PM:   Command failed with exit code 1: nuxt generate (https://ntl.fyi/exit-code-1)
5:59:20 PM: ​
5:59:20 PM:   Error location
5:59:20 PM:   In Build command from Netlify app:
5:59:20 PM:   nuxt generate

I tried to renew certificate, but nothing happens.
I don’t understand why everything suddenly broke.

Thanks a lot for your help!
Vincent

I’m seeing a valid SSL certificate for your domain

I tried on Chrome, Firefox and private navigation (why not…), and i still have this No secure connexion… and my client too :frowning:

Weird. Can you hard refresh ?

And do you know why datas (Created date) are not updated when i renew certificate ?

There is a problem cause Netlify can’t build my app :frowning:

I still can’t reproduce it. Maybe you’re affected by this:

Though it’s kinda late to be affected by this now.

Thanks for the link. I looked, but i don’t use old device.

Can you see my build log ?

6:00:45 PM:   1. Build command from Netlify app                             
6:00:45 PM: ────────────────────────────────────────────────────────────────
6:00:45 PM: ​
6:00:45 PM: $ nuxt generate
6:01:14 PM: [error] certificate has expired
6:01:14 PM:   at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
6:01:14 PM:   at TLSSocket.emit (node:events:513:28)
6:01:14 PM:   at TLSSocket._finishInit (node:_tls_wrap:953:8)
6:01:14 PM:   at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
6:01:14 PM: [error] Could not resolve routes
6:01:14 PM: [fatal] certificate has expired
6:01:14 PM:   at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
6:01:14 PM:   at TLSSocket.emit (node:events:513:28)
6:01:14 PM:   at TLSSocket._finishInit (node:_tls_wrap:953:8)
6:01:14 PM:   at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
6:01:14 PM: 
6:01:14 PM:    ╭────────────────────────────────────╮
6:01:14 PM:    │                                    │
6:01:14 PM:    │   ✖ Nuxt Fatal Error               │
6:01:14 PM:    │                                    │
6:01:14 PM:    │   Error: certificate has expired   │
6:01:14 PM:    │                                    │
6:01:14 PM:    ╰────────────────────────────────────╯
6:01:15 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
6:01:14 PM: 
6:01:14 PM: ​
6:01:14 PM:   "build.command" failed                                  

:wave: @pit07 - I responded to you in helpdesk ticket #125840. Let’s continue troubleshooting there!

1 Like

Glad we got things sorted @pit07 ! :raised_hands:

Posting solution here for benefit of community:

I find the problem… it was on API side… certificate expired for my API url…

1 Like