There is a need to import certificates without a private key, but there was no way to do this by importing from a file, only by importing from a base64 string, which is not convenient.
Added a check for privateKeyPath, if it is not set, then a certificate without a private key is imported.
There is a need to import certificates without a private key, but there was no way to do this by importing from a file, only by importing from a base64 string, which is not convenient. Added a check for privateKeyPath, if it is not set, then a certificate without a private key is imported.