import_from_file Method
Loads a certificate from a file.
Syntax
def import_from_file(path: str, password: str) -> None: ...
Remarks
This method can load certificates saved in one of the following formats: DER, PEM, PFX, SPC.
Use the Path parameter to provide a path to the certificate, and Password to specify the password. The Password parameter is optional. If it is omitted and it is later discovered that the certificate is password-encrypted, the on_password_needed event will be fired to request it.