#Why doesn't Next.js recognize ssl certificate?

11 messages · Page 1 of 1 (latest)

storm steeple
#

I bought a certificate why doesn't Next.js doesn't recognize it? When I fetch through http works but with https error fetch message. Does anyone has faced the same issue?

obtuse gyroBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

grizzled jackal
#

now with the latest release does it work (as i see that they fixed something with certs

storm steeple
grizzled jackal
#

i mean 13.5.4: #releases message

storm steeple
#

I will try run next@latest to see if it will be updated.

#

TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11576:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1600:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket._finishInit (node:_tls_wrap:1017:8)
at ssl.onhandshakedone (node:_tls_wrap:803:12)
at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
}

#

Nothing

open notch
#

@storm steeple Did you manage to solve it?

harsh spire
storm steeple
#

Yes we solved it. The solution is an another post. I wasn't setting right my ssl certificate.