enric1994 wrote
My setup is the following:
- Root CA
- Intermediate CA 1
- Intermediate CA 2
- Server certified by Intermediate CA 1
- Client certified by Intermediate CA 2
That is not how the example you followed is created ..
Then you go on to use a "stacked" CA not, as the example explains, a "chained" certificate.
Please follow the example properly and let us know if it works then.