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

Please add Subject alternative name #16

Open
ghost opened this issue Dec 19, 2018 · 4 comments
Open

Please add Subject alternative name #16

ghost opened this issue Dec 19, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 19, 2018

Subject alternative name is needed for ios support.
Please mark it also as critical

[ req_ext ]
subjectAltName = @alt_names

[ alt_names ]
IP.1 = MYSERVERIP
@jsha
Copy link
Owner

jsha commented Dec 19, 2018 via email

@ghost
Copy link
Author

ghost commented Dec 19, 2018

Bassicly there is a problem with self signed cert on IOS and other Apple system.
I added ca cert to my IOS then I set my server to use cert.pem and key.pem but still cant access from IOS.
I read that marked subjectAlternativeName as critical could help because I use server IP as CN.

Command I run to generate files: minica -ip--addresses 192.168.0.19

Also the server that I want to use have this in docs:
Due to what is likely a certificate validation bug in Android, you need to make sure that your certificate includes the full chain of trust.

Can you tell me how to generate full chain from files generated by minica?

@jsha
Copy link
Owner

jsha commented Dec 19, 2018 via email

@ghost
Copy link
Author

ghost commented Dec 19, 2018

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

1 participant