diff --git a/certificate/certificate.go b/certificate/certificate.go
index <HASH>..<HASH> 100644
--- a/certificate/certificate.go
+++ b/certificate/certificate.go
@@ -88,7 +88,7 @@ func FromPemBytes(bytes []byte, password string) (tls.Certificate, error) {
 		if block.Type == "CERTIFICATE" {
 			cert.Certificate = append(cert.Certificate, block.Bytes)
 		}
-		if block.Type == "PRIVATE KEY" || strings.HasSuffix(block.Type, "PRIVATE KEY") {
+		if strings.HasSuffix(block.Type, "PRIVATE KEY") {
 			key, err := unencryptPrivateKey(block, password)
 			if err != nil {
 				return tls.Certificate{}, err
Simplify FromPemBytes conditional (#<I>)

- Simplify logic. strings.HasSuffix can check both for suffix and for equality