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

Auto Wallet Unlock with Lets Encrypt SSL certificate #6

Open
3ntranced opened this issue Aug 28, 2018 · 4 comments
Open

Auto Wallet Unlock with Lets Encrypt SSL certificate #6

3ntranced opened this issue Aug 28, 2018 · 4 comments

Comments

@3ntranced
Copy link

Hi, I set up an internal lan webserver running https on 192.168.0.2:81
Running
curl --data "action=getEncryptedPassword" https://192.168.0.2:81/raspibolt/utilities.php
I get error
curl: (51) SSL: no alternative certificate subject name matches target host name '192.168.0.2'
Only if I run curl with option -k then it works.

Is there a way to get the certificate to work inside the lan? Thanks

@robclark56
Copy link
Owner

robclark56 commented Aug 28, 2018

I am sure there is ... but I don't know how.

@3ntranced
Copy link
Author

I guess just running with -k it is then?

@robclark56
Copy link
Owner

Have a read of this: https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_6A_auto-unlock.md

The curl command is using --cacert which may be what you are after.

@3ntranced
Copy link
Author

Ok I ll look into that. Thank you

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

2 participants