Topic: command wc_SetCustomExtension
I'm working with creating certificates and using the wc_SetCustomExtension function to assign the values of certificate restrictions (keyUsageExtended, keyUsage) when I need to decode the generated certificate wolfssl can't get the settings that were assigned.
We are using wc_SetCustomExtension because we were able to assign some constraints as critical.
we use this command in a root certificate
ret = wc_SetCustomExtension(&newCert, 1 , "22.214.171.124","126.96.36.199.1", 12);
X509v3 Extended Key Usage: critical
We were able to generate the certificate with wc_SetCustomExtension but we couldn't decode it from .der