You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens when making any changes to a site and then attempting to save the site using Site.save(nsc).
Error Output:
Nexpose::APIError: NexposeAPI: POST request to /api/2.1/site_configurations/ failed. response body: {
"errors" : [ "PEM-format Private Key must be specified for this action." ]
}
from /var/lib/gems/2.3.0/gems/nexpose-3.3.1/lib/nexpose/ajax.rb:166:in `request'
from /var/lib/gems/2.3.0/gems/nexpose-3.3.1/lib/nexpose/ajax.rb:65:in `post'
from /var/lib/gems/2.3.0/gems/nexpose-3.3.1/lib/nexpose/site.rb:536:in `save'
from copy_site.rb:38:in `<top (required)>'
from (irb):6:in `load'
from (irb):6
from /usr/bin/irb:11:in `<main>
Additional Troubleshooting:
The PUT URI is different for the API and GUI. We used wireshark and stunnel to SSL MITM the traffic.
API
"PUT /api/2.1/site_configurations/1" returns a HTTP 405 Method not allowed
GUI
"PUT /data/scan/config" is ok
The text was updated successfully, but these errors were encountered:
This happens when making any changes to a site and then attempting to save the site using Site.save(nsc).
Error Output:
Additional Troubleshooting:
The PUT URI is different for the API and GUI. We used wireshark and stunnel to SSL MITM the traffic.
"PUT /api/2.1/site_configurations/1" returns a HTTP 405 Method not allowed
"PUT /data/scan/config" is ok
The text was updated successfully, but these errors were encountered: