Skip to content

PUT "ssl.json/123" throws http 500 error #13

@stooj

Description

@stooj

When I try to PUT an new SSL cert, the request fails with a HTTP 500

Snippet of code:

max.Verbose = true
form := url.Values{}
// ... populate form
targetURL := fmt.Sprintf("ssl.json/%s", certID)
var put maxcdn.Generic
res, err := max.Put(&put, targetURL, form)

Response

Response: HTTP/2.0 500 Internal Server Error                                                                                                                                                                       
Access-Control-Allow-Origin: *                                                                                                                                                                                     
Cache-Control: max-age=3600, must-revalidate                                                                                                                                                                       
Content-Type: application/json                                                                                                                                                                                     
Date: Thu, 03 Sep 2020 13:46:51 GMT                                                                                                                                                                                
Etag: 89335e0158b9691b9d4a61c4ec6309cf                                                                                                                                                                             
Server: nginx                                                                                                                                                                                                      
Vary: Accept-Encoding                                                                                                                                                                                              
X-Xrds-Location: http://rws.maxcdn.com/services.xrds                                                                                                                                                               
                                                                                                                                                                                                                   
{"code":500,"error":{"message":"Invalid signature","type":""}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions