| If the agent connects to the server via an HTTP proxy, then the peer IP address from the server's perspective will be that of the proxy, not the agent. And since the server doesn't know if the agent connected via a proxy or not, it seems dubious to pass the client IP to the autosign script. The request handler would need to check for X-Forwarded-For, etc and that gets complicated. At that point, I think you're better off adding a custom attribute to the CSR identifying the client IP. |