Home | History | Annotate | Download | only in cups

Lines Matching full:certificate

33 static gnutls_x509_crl_t tls_crl = NULL;/* Certificate revocation list */
54 * 'cupsMakeServerCredentials()' - Make a self-signed certificate and private key pair.
67 gnutls_x509_crt_t crt; /* Self-signed certificate */
70 crtfile[1024], /* Certificate filename */
138 * Create the self-signed certificate...
141 DEBUG_puts("1cupsMakeServerCredentials: Generating self-signed X.509 certificate.");
193 DEBUG_printf(("1cupsMakeServerCredentials: Unable to export public key and X.509 certificate: %s", gnutls_strerror(result)));
201 DEBUG_printf(("1cupsMakeServerCredentials: Writing public key and X.509 certificate to \"%s\".", crtfile));
207 DEBUG_printf(("1cupsMakeServerCredentials: Unable to create public key and X.509 certificate file \"%s\": %s", crtfile, strerror(errno)));
370 gnutls_x509_crt_t cert; /* Certificate */
383 unsigned char cserial[1024], /* Certificate serial number */
431 gnutls_x509_crt_t cert; /* Certificate */
499 * The common name does not match the issued certificate...
528 * See if we have a site CA certificate we can compare...
536 * Certificate isn't directly generated from the CA cert...
560 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Credentials do not validate against site CA certificate."), 1);
604 gnutls_x509_crt_t cert; /* Certificate */
631 http_credential_t *first; /* First certificate */
632 gnutls_x509_crt_t cert; /* Certificate */
687 cups_file_t *fp; /* Certificate file */
696 /* In a certificate? */
714 if (!strcmp(line, "-----BEGIN CERTIFICATE-----"))
719 * Missing END CERTIFICATE...
729 else if (!strcmp(line, "-----END CERTIFICATE-----"))
792 * Missing END CERTIFICATE...
818 cups_file_t *fp; /* Certificate file */
823 const unsigned char *ptr; /* Pointer into certificate */
848 cupsFilePuts(fp, "-----BEGIN CERTIFICATE-----\n");
854 cupsFilePuts(fp, "-----END CERTIFICATE-----\n");
867 static gnutls_x509_crt_t /* O - Certificate */
872 gnutls_x509_crt_t cert; /* Certificate */
947 * 'http_gnutls_load_crl()' - Load the certificate revocation list, if any.
1042 * 'http_gnutls_make_path()' - Format a filename for a certificate or key file.
1329 * Server: get certificate and private key...
1332 char crtfile[1024], /* Certificate file */
1481 DEBUG_printf(("4_httpTLSStart: Using certificate \"%s\" and private key \"%s\".", crtfile, keyfile));