jhowell-comcast opened a new issue #3153: TO: KSK generation endpoint is broken URL: https://github.com/apache/trafficcontrol/issues/3153 When there is no KSK present for a CDN, POSTS to /api/1.4/cdns/{{ cdnNAME }}/dnsseckeys/ksk/generate fail with an internal server error: ``` curl -i -X POST -b mojolicious_cookie_file -d '{"expirationDays":365}' 'https://to.example.net/api/1.4/cdns/exampleCDN/dnsseckeys/ksk/generate' HTTP/2 500 access-control-allow-credentials: true access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept, Set-Cookie, Cookie access-control-allow-methods: POST,GET,OPTIONS,PUT,DELETE access-control-allow-origin: * content-type: application/json set-cookie: mojolicious=xxxxxxxxxxxxxxxxxx; Path=/; HttpOnly whole-content-sha512: xxxxxxxxxxxxxx x-server-name: traffic_ops_golang/ content-length: 61 date: Thu, 20 Dec 2018 21:06:13 GMT {"alerts":[{"text":"Internal Server Error","level":"error"}]} ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
