Changeset ee65fcb in mod_gnutls


Ignore:
Timestamp:
Dec 2, 2007, 4:05:52 AM (15 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, msva, proxy-ticket, upstream
Children:
a5dc815
Parents:
717206c
git-author:
Nikos Mavrogiannopoulos <nmav@…> (12/02/07 04:05:52)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (12/02/07 04:05:52)
Message:

added SSL_SERVER_M_SERIAL environment variable

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • README.ENV

    r717206c ree65fcb  
    88SSL_COMPRESS_METHOD: The negotiated compression method (NULL or DEFLATE)
    99SSL_SRP_USER: The SRP username used for authentication.
    10 SSL_CLIENT_VERIFY:
    11   whether the client's certificate was verified. (NONE if none was sent, or SUCCESS or FAILED)
    1210SSL_CIPHER_USEKEYSIZE and SSL_CIPHER_ALGKEYSIZE: The number if bits used in the used cipher
    1311  algorithm. This does not fully reflect the security level since the size of
     
    1614SSL_SESSION_ID: The session ID negotiated in this session. Can be the same during
    1715  client reloads.
     16
    1817SSL_CLIENT_V_REMAIN: The number of days until the client's certificate is expired.
     18SSL_CLIENT_V_START: The activation time of client's certificate.
     19SSL_CLIENT_V_END: The expiration time of client's certificate.
     20SSL_CLIENT_S_DN: The distinguished name of client's certificate in RFC2253 format.
     21SSL_CLIENT_I_DN: The distinguished name of client's issuer certificate in RFC2253 format.
     22SSL_CLIENT_M_SERIAL: The serial number of the client's certificate.
     23SSL_CLIENT_M_VERSION: The version of the client's certificate.
     24SSL_CLIENT_A_SIG: The algorithm used for the signature in client's certificate.
     25SSL_CLIENT_A_KEY: The public key algorithm in client's certificate.
     26SSL_CLIENT_CERT: The PEM-encoded client certificate
     27SSL_CLIENT_VERIFY:
     28  whether the client's certificate was verified. (NONE if none was sent, or SUCCESS or FAILED)
    1929
    20 SSL_CLIENT_CERT: The PEM-encoded client certificate
     30SSL_SERVER_V_START: The activation time of server's certificate.
     31SSL_SERVER_V_END: The expiration time of server's certificate.
     32SSL_SERVER_S_DN: The distinguished name of the server's certificate in RFC2253 format.
     33SSL_SERVER_I_DN: The distinguished name of the server's issuer certificate in RFC2253 format.
     34SSL_SERVER_M_SERIAL: The serial number of the server's certificate.
     35SSL_SERVER_M_VERSION: The version of the server's certificate.
     36SSL_SERVER_A_SIG: The algorithm used for the signature in server's certificate.
     37SSL_SERVER_A_KEY: The public key algorithm in server's certificate.
     38
    2139SSL_SERVER_CERT: The PEM-encoded server certificate
  • src/gnutls_hooks.c

    r717206c ree65fcb  
    835835                   apr_pstrdup(r->pool, tmp));
    836836
     837    alg = gnutls_x509_crt_get_version(cert);
     838    if (alg > 0)
     839      apr_table_setn(env, apr_pstrcat(r->pool, MGS_SIDE, "_M_VERSION", NULL),
     840                   apr_psprintf(r->pool, "%u", alg));
     841
    837842    tmp =
    838843        mgs_time2sz(gnutls_x509_crt_get_expiration_time
Note: See TracChangeset for help on using the changeset viewer.