apisix-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [apisix] Firstsawyou commented on issue #4071: request help: Decode secret is not a valid cert, public key: bad base64 decode
Date Mon, 19 Apr 2021 03:15:15 GMT

Firstsawyou commented on issue #4071:
URL: https://github.com/apache/apisix/issues/4071#issuecomment-822137317


   The format of the key you generated is wrong, you should use the key in `PEM` format. like
this:
   
   public key:
   
   ```
   -----BEGIN PUBLIC KEY-----
   MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC7PFEV21eMlqyw6uXUOGpuV+6f
   2gaEnT6tTf5lMKZTUEJceLPK50dawo/c+5b9YeX7iue8XSGAQmksKu/URys9gaZh
   G4OZeciQ4aP3na+DiUjIV+950chEAKS1u655GZzpfSdUx+LfJGJ2guOJIPnQpq6c
   dwJIjlMWBHG1/vgV4QIDAQAB
   -----END PUBLIC KEY-----
   ```
   
   private key:
   
   ```
   -----BEGIN RSA PRIVATE KEY-----
   MIICXgIBAAKBgQC7PFEV21eMlqyw6uXUOGpuV+6f2gaEnT6tTf5lMKZTUEJceLPK
   50dawo/c+5b9YeX7iue8XSGAQmksKu/URys9gaZhG4OZeciQ4aP3na+DiUjIV+95
   0chEAKS1u655GZzpfSdUx+LfJGJ2guOJIPnQpq6cdwJIjlMWBHG1/vgV4QIDAQAB
   AoGANJohfa59zjWWlq2nnBOtcwqpM6ehJSi4LyA2VF9ymv11Z11RxbNsTIdUu5TD
   OrSCVEUWDclsXAhMW+hEMLM95jH9V3CUyPBoZ6jHdugrSJLrN/kz1bPYMNIyX2fr
   an1ttJfZgFJXN4Z0E6AZ5paQ4z08X3ZH5W+LJzEZZXg0E7ECQQD0iR0VvSA0gAJ0
   pKlaHSbqosnMs6a733msFnQyF7NWi2wK8+M82IfTLxe+cdqgiNBb+A5n6tR5NBj/
   fFdhGd83AkEAxAN+5KAFoOt0U1Ce20LulLIwiWap/Wl57p95gsO7dhfblQsCJYw7
   4BVdQ2TaQ9PONUAxz5ZROBhjPOZfijbPpwJBALC/8p/l5cNMy3mYEzipXZm3NHmb
   WObu7rkuOaqDawMhH2UDR7qRIAvLPDRRgx8KBOCU+YSvPgilWXRBYb8zvh0CQQCf
   n6EkmdQ7mcMfXhYfxL/5w6qXGk3wmoa7do9DmBX/M6qUE2TqIutXrs5GZckBV2kk
   IGTwAh+eKO4X2BuRuNUdAkEAplAcYB68IyII2VxDeYSgKGJi9iNWaaGjVwXVt9Jq
   uJRavhUkHgxdTsw4ViZoyoITyKJe0jhE2noygPUPF9m9IA==
   -----END RSA PRIVATE KEY-----
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message