Currently there is no way to get the actual certificate from the peer. This makes it difficult to do many thing, such as implement an HTTPS server that accepts client certificates and processes information from the user based on their certificate.
Attached is a patch that adds support for the "status" command to have an additional dictionary object called "certificate" with the certificate object PEM encoded.
Patch