code: func pkcs12ToPem(p12 []byte, password string) tls.Certificate {
  	blocks, err := pkcs12.ToPEM(p12, password)
  	defer func() {
  		if x := recover(); x != nil {
  			log.Print(x)
  		}
  	}()
  	if err != nil {
  		panic(err)
  	}
  	var pemData []byte
  	for _, b := range blocks {
  		pemData = append(pemData, pem.EncodeToMemory(b)...)
  	}
  	cert, err := tls.X509KeyPair(pemData, pemData)
  	if err != nil {
  		panic(err)
  	}
  	return cert
  }
docs: //pkcs12ToPem 将Pkcs12转成Pem