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

Thank you so much #1

Open
ryancwalsh opened this issue Nov 15, 2020 · 3 comments
Open

Thank you so much #1

ryancwalsh opened this issue Nov 15, 2020 · 3 comments

Comments

@ryancwalsh
Copy link

Thank you so much for providing your helpful script, which I found at https://medium.com/@antelle/how-to-generate-a-self-signed-ssl-certificate-for-an-ip-address-f0dd8dddf754

I've been trying to figure out how to modify it to be usable on PC, Mac, iOS, and Android.

Previously, I'd been using https://stackoverflow.com/a/57684211/470749

But that seems unable to work with an IP address.

Do you happen to know how I could modify that "One self-signed cert to rule them all" to use an IP address rather than hostname?

In other words, what I seem to need is a merge of your approach and ScottyB's.

I appreciate your thoughts. Thanks.

@antelle
Copy link
Owner

antelle commented Nov 15, 2020

Hi! You mean, you expect the script to be able to run on all those OS, or you noticed an issue with certificates generated by it?

@ryancwalsh
Copy link
Author

What a fast response! Thanks!

I mean that I was not able to install the certificate at Android > Settings > Security > Advanced > Encryption & credentials > Install a certificate > CA Certificate.

It says "Private key required to install a certificate".

The only way I've ever been able to get a self-signed cert to be installable on Android is https://stackoverflow.com/a/57684211/470749

I don't understand all the particulars about why each type of device (Android, iOS, PC, Mac) requires different lines in the conf file or whether it would be possible to use an IP instead of hostname.

Thanks.

@antelle
Copy link
Owner

antelle commented Nov 15, 2020

Interesting, I won't be able to check if it works on Android, but I can see what happens on iOS.

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