manage_certificates
Manage SSL/TLS certificates on Palo Alto firewalls to maintain secure network communications and authentication.
Instructions
Manage certificates on the Palo Alto firewall
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:208-235 (handler)Handler for the 'manage_certificates' tool. Fetches certificates from the Palo Alto firewall using a GET request to /Device/Certificates and returns the JSON response.case 'manage_certificates': { try { const response = await axios.get( `${API_BASE_URL}/Device/Certificates`, { headers: { 'X-PAN-KEY': API_KEY, 'Accept': 'application/json' } } ); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; } catch (error) { const axiosError = error as AxiosError; throw new McpError( ErrorCode.InternalError, `Palo Alto API error: ${axiosError.message}` ); } }
- src/index.ts:66-73 (registration)Registers the 'manage_certificates' tool in the list of available tools, including its name, description, and empty input schema.{ name: 'manage_certificates', description: 'Manage certificates on the Palo Alto firewall', inputSchema: { type: 'object', properties: {}, }, },