MarkCupitt commented on issue #8665:
URL: https://github.com/apache/apisix/issues/8665#issuecomment-1397778959

   Additional effort still produces same result, 
   
   Bash Script used:
   
   ```
     local sslcrt=$(cat "./certs/$sslurl.crt")
     local sslkey=$(cat "./certs/$sslurl.key")
     
     local json=$(cat <<EOF
     {
       "snis": ["${sslurl}"],
       "cert": "${sslcrt}",
       "key": "${sslkey}"
       }
   EOF
   )
   
   curl -s  http://apisixadminapiurl/apisix/admin/ssls/1 -H "X-API-KEY: 
$apikey" -X PUT -i -d "$json" # >/dev/null
   ```
   Note on image:
   
   - Cert loaded via APi
   - Expiration time not decoded
   - SNI Decoded
   - Unable to delete. Noted its using /ssl and not ssls
   
   
![image](https://user-images.githubusercontent.com/5503184/213591433-2066d6c4-0e73-41f7-abae-5c2bb5196949.png)
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

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

Reply via email to