Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection closed because of an error:certificate has expired #110

Open
antonio-antonucci opened this issue Jan 7, 2022 · 7 comments
Open

Comments

@antonio-antonucci
Copy link

Hi, it seems that the SSL certificate has expired as reported below, how can I renew it?

{"level":"info","message":"[Endpoint] Connecting to ssl.redsmin.com:993..."}
{"level":"error","message":"[Endpoint] Error certificate has expired"}
{"level":"error","message":"[Endpoint] Connection closed because of an error:certificate has expired"}
{"level":"debug","message":"onClose():: reconnecting..."}
{"level":"error","message":"[Endpoint] Connection closed because of an error:true"}

Thanks
oo0v0oo

@Syncworx
Copy link

I am facing the Same Issue. Is there anything I can do here to Fix this? My Redsmin Agent is not connecting.

@Dulanic
Copy link

Dulanic commented Apr 20, 2022

Seems we can't really use this project anymore, still seeing same issue.

@JanSchnurle
Copy link

Not ideal but doable, bypass cert validation:

Add {rejectUnauthorized:false} to tls.connet method in:
/node_modules/redsmin/lib/Endpoint.js line135

this.socket = tls.connect(this.port, this.hostname, {rejectUnauthorized:false}, this.onConnected);

@antonio-antonucci
Copy link
Author

This is working @JanSchnurle, thanks a lot, however is theren't any other option to renew an expired certificate?

@JanSchnurle
Copy link

This is working @JanSchnurle, thanks a lot, however is theren't any other option to renew an expired certificate?

@antonio-antonucci Its up to Redsmin to adjust it, since its an expired cert on their infrastructure =[

@Syncworx
Copy link

Not ideal but doable, bypass cert validation:

Add {rejectUnauthorized:false} to tls.connet method in: /node_modules/redsmin/lib/Endpoint.js line135

this.socket = tls.connect(this.port, this.hostname, {rejectUnauthorized:false}, this.onConnected);

This Solution works for me. Not so happy with this hack for now it is working.

@Firefox2005
Copy link

This seems to be happening again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants