Nikos Mavrogiannopoulos <nmav at gnutls.org> writes: > Do you use gnutls_pkcs12_bag_get_type()? In that function you must also > specify the index of the bag element to check. Certtool makes use of this > function and seems to work. > Yes, I use that function which is where I get that the unencrypted certificate bag is encrypted. aleix