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

The relationship between the certificate chain and CA, as well as the problems and solutions found in openvpn, share with you #4100

Open
y377 opened this issue May 20, 2022 · 0 comments

Comments

@y377
Copy link

y377 commented May 20, 2022

There is no problem with using acme.sh (it is really easy to use), but I found a phenomenon, because it is beyond my knowledge, I don't know if it is a bug or something else, I will share it here and hope that people who understand can Improve it (if it's a bug)

Allow me to start with a description of the problem:

During the connection between the openvpn server (2.4.x) and the client (2.4.x), I tried all the public CA certificate stores in acme.sh!
It is found that the client cannot connect to the server. I have tried various RSA/ECDSA algorithms, and they are all the same. I havetily attributed the problem to the CA, please see here

CA uses auth SHA384; will cause most of the openvpn to fail, which is really a headache

The openvpn Windows client reported such an error during the connection process. (Originally, I was operating on two servers, using the verb 4 level log, and these error messages were not displayed. )Following these error messages, I followed the clues and found identified the problem and finally provided workaround (That is, use a third-party certificate chain repair tool to repair the fullchain ).and you will find the repaired new certificate chain The third paragraph is different!

Fri May 20 16:49:40 2022 VERIFY ERROR: depth=1, error=unable to get issuer certificate: C=US, O=Let's Encrypt, CN=R3, serial=192961496339968674994309121183282847578
Fri May 20 16:49:40 2022 OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
Fri May 20 16:49:40 2022 TLS_ERROR: BIO read tls_read_plaintext error
Fri May 20 16:49:40 2022 TLS Error: TLS object -> incoming plaintext read error
Fri May 20 16:49:40 2022 TLS Error: TLS handshake failed

The following is the real certificate I provided, in order to facilitate the search for the problem!
The final problem is that the top-level CA of the certificate or certificate chain issued by acme.sh is not the same as the top-level CA of the third-party tool to repair the certificate chain. Do you have any thoughts and suggestions on this? Welcome to popularize science for me or eliminate me , although I solved the problem, but I don't know why!

For other content, please slip to the bottom

/root/.acme.sh/hk.edges.vip_ecc/
├── ca.cer
├── fullchain.cer
├── hk.edges.vip.cer
├── hk.edges.vip.conf
├── hk.edges.vip.csr
├── hk.edges.vip.csr.conf
└── hk.edges.vip.key

fullchain.cer

-----BEGIN CERTIFICATE-----
MIIEUzCCAzugAwIBAgISA1RPgnhsoMXiuLU2fBUas/1uMA0GCSqGSIb3DQEBCwUA
MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD
EwJSMzAeFw0yMjA1MjAwNzE5MDRaFw0yMjA4MTgwNzE5MDNaMBcxFTATBgNVBAMT
DGhrLmVkZ2VzLnZpcDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHxo337xwwxe
TpI4kxRNOr/sZ/wBtpRTjb73VjRzssdEZtZA1WqIks6q8rYKETMQozPXYwYIiHNP
ZpfksATcJPWjggJHMIICQzAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0lBBYwFAYIKwYB
BQUHAwEGCCsGAQUFBwMCMAwGA1UdEwEB/wQCMAAwHQYDVR0OBBYEFPU8qVmRHWkS
stj4raHs3GAPMHNeMB8GA1UdIwQYMBaAFBQusxe3WFbLrlAJQOYfr52LFMLGMFUG
CCsGAQUFBwEBBEkwRzAhBggrBgEFBQcwAYYVaHR0cDovL3IzLm8ubGVuY3Iub3Jn
MCIGCCsGAQUFBzAChhZodHRwOi8vcjMuaS5sZW5jci5vcmcvMBcGA1UdEQQQMA6C
DGhrLmVkZ2VzLnZpcDBMBgNVHSAERTBDMAgGBmeBDAECATA3BgsrBgEEAYLfEwEB
ATAoMCYGCCsGAQUFBwIBFhpodHRwOi8vY3BzLmxldHNlbmNyeXB0Lm9yZzCCAQQG
CisGAQQB1nkCBAIEgfUEgfIA8AB2AG9Tdqwx8DEZ2JkApFEV/3cVHBHZAsEAKQaN
sgiaN9kTAAABgOCMeeYAAAQDAEcwRQIhAJFip6j/EM3wPiCfZ1lqlsEhtGf1/yoD
nA9lJl+cl7UdAiBkYfNKIouf9d8VmnkcvlleHJoaMWkSh4i7ghNPWg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2. Subject CN: R3 > Issuer CN: ISRG Root X1
  3. Subject CN: ISRG Root X1 > Issuer CN: DST Root CA X3

after repair fullchain

  1. Subject CN: hk.edges.vip > Issuer CN: R3
  2. Subject CN: R3 > Issuer CN: ISRG Root X1
  3. Subject CN: ISRG Root X1 > Issuer CN: ISRG Root X1

summary of a problem:

That is to say, the certificate issued by acme.sh cannot directly fill the CA content into the [CA field] of the openvpn server/client, because the TLS verification of openvpn cannot obtain the top-level CA. According to the above error message, I checked the Google The problem is that we need to repair the certificate chain by ourselves, so that the third part of the certificate chain is regarded as a CA and filled in the [CA field] of openvpn.

Although the default certificate chain can be used in browsers without problems, openvpn cannot be used directly! So I hope to improve it. Because openvpn is indeed a very useful tool

Also, if there is a problem with using openvpn, I can share and help troubleshoot and solve the problem, I'm fairly thorough with openvpn, at least for maximum security, I've spent a lot of time researching and learning to use it!

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