# OpenSSL Certificate not working

**URL:** <https://discourse.nodered.org/t/openssl-certificate-not-working/27701>\
**Category:** General\
**Created:** [3 June 2020 06:35 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701 "2020-06-03T06:35:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan-k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jan-k/32/17738_2.png) [@jan-k](https://discourse.nodered.org/u/jan-k)\
**Post date:** [3 June 2020 06:35 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/1 "2020-06-03T06:35:02Z")

</div>

Hi, did anyone tried to use the free openssl generate for the self signed certificate and get the connection secure? I tried few method from internet like importing the cert.pem into the trusted root certification authorities but the connection still Not in secure. Or I need to use a paid CA for getting the secure connection? 😣

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/1242dc7688c0ca29e07cb685368402b5366772cc.png)

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [3 June 2020 07:56 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/2 "2020-06-03T07:56:57Z")

</div>

Hi @jan-k,  
You have issued your certificate to the domain WTP088089 (as I can see in the certificate screenshot), but you navigate to 127.0.0.1  
So the browser sees that this doesn't match.  
You should navigate in your browser to wtp088089:1880 instead.  
Please start a new discussion next time, because this has nothing to do with the certbot explanation...  
Bart

---

<div class="post-metadata">

**Author:** ![jan-k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jan-k/32/17738_2.png) [@jan-k](https://discourse.nodered.org/u/jan-k)\
**Post date:** [3 June 2020 08:00 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/3 "2020-06-03T08:00:22Z")

</div>

Yes, I did try to navigate to it but still the same.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/7/87000f70d92f3624e592c1b2aba793fd943afbeb.png)

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [3 June 2020 08:08 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/4 "2020-06-03T08:08:18Z")

</div>

But I assume you know get another error reason??? I assume it is not valid anymore, because your certificate is only valid from 6/3/2020 to 7/3/2020 ...

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [3 June 2020 08:32 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/5 "2020-06-03T08:32:44Z")

</div>

@jan-k - I've moved your post to it's own thread, instead of it being off-topic in the previous thread.  
For info @BartButenaers

---

<div class="post-metadata">

**Author:** ![jan-k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jan-k/32/17738_2.png) [@jan-k](https://discourse.nodered.org/u/jan-k)\
**Post date:** [4 June 2020 01:37 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/6 "2020-06-04T01:37:36Z")

</div>

> [@BartButenaers](#):
>
> I assume it is not valid anymore, because your certificate is only valid from 6/3/2020 to 7/3/2020

The format of the date should be in [mm/dd/yy]. I've tried, no problem on IE and Edge, except for the chrome.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [4 June 2020 05:35 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/7 "2020-06-04T05:35:35Z")

</div>

On the original error message, chrome complained about the common name mismatch. But what is the error when you navigate to htts://wtp088089:1880 ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 August 2020 05:35 UTC](https://discourse.nodered.org/t/openssl-certificate-not-working/27701/8 "2020-08-03T05:35:39Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
