Why does Cert.ImportFrom('Filename') try to create directories? It doesn't seem to me like a method should need to create a directory, when all you are doing is asking it to read something. Yet, a recent attempt to use this overload produced an EInOutError exception with the message 'cannot create directores'. Why?
Thanks!
Cert.ImportFrom('Filename')
Re: Cert.ImportFrom('Filename')
You can get this error when using TScFileStorage. In this case, SecureBridge tries to save the certificate file to the path specified in the TScFileStorage.Path property. To solve the issue, you can specify the correct path in this property or use the TScMemoryStorage component.