mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
279 lines
16 KiB
HTML
279 lines
16 KiB
HTML
<html>
|
|
<head>
|
|
<title>Signing & Encrypting Messages</title>
|
|
|
|
<link rel="stylesheet" href="chrome://help/locale/content_style.css" type="text/css">
|
|
|
|
</head>
|
|
|
|
<body bgcolor="white">
|
|
|
|
<a NAME="secure_mail_first"></a>
|
|
<a NAME="settings:signed & encrypted mailIDX"></a>
|
|
<a NAME="signing_email_messagesSDX"></a>
|
|
<a NAME="encrypting_email_messagesSDX"></a>
|
|
<a NAME="Mail_and_Newsgroups:signing_messagesIDX"></a>
|
|
<a NAME="Mail_and_Newsgroups:encrypting_messagesIDX"></a>
|
|
<a NAME="signing_email_messagesIDX"></a>
|
|
<a NAME="encryption:of_email_messagesIDX"></a>
|
|
|
|
<hr><h1>Signing & Encrypting Messages</h1>
|
|
|
|
|
|
<p>
|
|
|
|
<table cellpadding=4 cellspacing=2 bgcolor="#cccccc" Width=324>
|
|
<tr>
|
|
<td class="inthissections">
|
|
<p>In this section:</p>
|
|
<p><a href="#about_sigs_encrypt">About Digital Signatures & Encryption</a></p>
|
|
<p><a href="#get_mail_certs">Getting Other People's Certificates</a></p>
|
|
<p><a href="#config_account">Configuring Security Settings</a></p>
|
|
<p><a href="#signing">Signing & Encrypting a New Message</a></p>
|
|
<p><a href="#reading">Reading Signed & Encrypted Messages</a></p>
|
|
<p><a href="#compose_security">Message Security - Compose Window</a></p>
|
|
<p><a href="#received_security">Message Security - Received Window</a></p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<a NAME="about_sigs_encrypt"></a>
|
|
<h2>About Digital Signatures & Encryption </h2>
|
|
|
|
<p>When you compose a mail or newsgroup message, you can choose to attach your digital signature to it. A <a href="glossary.html#digital_signature">digital signature</a> allows recipients of the message to verify that the message really comes from you and hasn't been tampered with since you sent it.
|
|
|
|
<p>When you compose a mail message, you can also choose to encrypt it. <a href="glossary.html#encryption">Encryption</a> makes it nearly impossible for anyone other than the intended recipient to read the message while it is in transit over the Internet.
|
|
|
|
<p>Encryption is not available for newsgroup messages.
|
|
|
|
<p>Before you can sign or encrypt a message, you must take these preliminary steps:
|
|
|
|
<ol>
|
|
<li>Obtain one or more <a href="glossary.html#certificate">certificates</a> (the digital eqivalents of ID cards). For details, see <a href="using_certs_help.html#using_certs_get">Getting Your Own Certificate</a>.
|
|
|
|
<li>Configure the security settings for your email or newsgroup account. For details, see <a href="#config_account">Configuring Your Security Settings</a>.
|
|
|
|
</ol>
|
|
|
|
<p>Once you have completed these steps, you can complete the instructions in <a href="#signing">Signing & Encrypting a New Message</a>.
|
|
|
|
<p>The sections that follow provide a brief overview of how digital signatures and encryption work. For more technical details on this subject, see the online document <a href="http://developer.netscape.com/docs/manuals/security/pkin/index.htm" TARGET="_blank">Introduction to Public-Key Cryptography</a>.
|
|
|
|
<p> </p>
|
|
<a NAME="how_sigs_work"></a>
|
|
<h3>How Digital Signatures Work</h3>
|
|
|
|
<p>A digital signature is a special code, unique to each message, created by means of <a href="glossary.html#public-key_cryptography">public-key cryptography</a>.
|
|
|
|
<p>A digital signature is completely different from a handwritten signature, although it can sometimes be used for similar legal purposes, such as signing a contract.
|
|
|
|
<p>To create a digital signature for an email or newsgroup message that you are sending, you need two things:
|
|
|
|
<ul>
|
|
<li>A <b>signing certificate</b> that identifies you for this purpose. Every time you sign a message, your signing certificate is included with the message. The certificate includes a <a href="glossary.html#public_key">public key</a>. The presence of the certificate in the message permits the recipient to verify your digital signature.
|
|
<p>Your certificate is a bit like your name and phone number in the phonebook—it is public information that helps other people communicate with you.
|
|
<li>A <a href="glossary.html#private_key">private key</a>, which is created and stored on your computer when you first obtain a certificate.
|
|
|
|
<p>Your private key is protected by your <a href="glossary.html#master_password">master password</a> and is not normally disclosed to anyone else. The Mail & Newsgroup software uses your private key to create a unique, verifiable digital signature for every message you choose to sign.
|
|
</ul>
|
|
|
|
|
|
<p> </p>
|
|
<a NAME="how_encrypt_works"></a>
|
|
<h3>
|
|
How Encryption Works</h3>
|
|
|
|
<p>To encrypt an email message, you must have an encryption certificate for each of the message's recipients. The public key in each certificate is used to encrypt the message for that recipient.
|
|
|
|
<p>If you dont have a certificate for even a single recipient, the message cannot be encrypted.
|
|
|
|
<p>The recipient's software uses the recipient's private key, which remains on that person's computer, to decrypt the message.
|
|
|
|
<p> </p>
|
|
<a NAME="get_mail_certs"></a>
|
|
<h2>Getting Other People's Certificates</h2>
|
|
|
|
<p>Every time you send a digitally signed message, your encryption certificate is automatically included with the message. Therefore, one of the easiest ways to obtain someone else's certificate is for that person to send you a digitally signed message.
|
|
|
|
<p>When you receive such a message, the person's certificate is automatically stored by the <a href="certs_help.html">Certificate Manager</a>, which is the part of the browser that keeps track of certificates. This is useful because you need to have a certificate for each recipient of any email message that you want to send in encrypted form.
|
|
|
|
<p>You can also obtain certificates by looking them up in a public directory, such as the "phonebook" directories maintained by many companies.
|
|
|
|
|
|
<p> </p>
|
|
|
|
<a NAME="encryption:settings_for_emailIDX"></a>
|
|
<a NAME="config_account"></a>
|
|
<h2>Configuring Security Settings</h2>
|
|
|
|
<p>Once you have obtained an email certificate (or certificates), you must specify the certificates you want to use for signing and encrypting messages.
|
|
|
|
<p>For information about obtaining email certificates, see <a href="using_certs_help.html#using_certs_get">Getting Your Own Certificate</a>.
|
|
|
|
<p>To specify which signing and encryption certificates to use with a particular account, follow these steps:
|
|
|
|
<ol>
|
|
<li>Open the Edit menu and choose Mail & Newsgroups Account Settings.
|
|
<li>Click Security under the name of the mail account whose security settings you want to configure.
|
|
<li>Under Digital Signing, click the Select button. (You may be asked to provide your <a href="glossary.html#master_password">Master Password</a> before you can proceed further.)</li>
|
|
<p>A dialog box appears that allows you to select from among your available signing certificates.
|
|
<li>Choose the signing certificate you want to use, then click OK.
|
|
<li>Follow the same steps under Encryption: click the Select button, select the encryption certificate you want to use, and click OK.</li>
|
|
|
|
<p>In some cases you may be able to specify the same certificate under Encryption that you specified under Digital Signing; check with your system administrator to find out for sure.
|
|
|
|
</ol>
|
|
|
|
<p>Optionally, you can also indicate that you normally want to sign or encrypt all messages sent from a particular account. These account-specific settings are for convenience only; you can override the default settings for individual messages.
|
|
|
|
<p>To configure your default signing and encryption settings, start from the Security panel for the account (described above) and select your settings as follows:
|
|
|
|
<ul>
|
|
|
|
<li>Under Digital Signing:</li>
|
|
<ul><li><b>Digitally sign messages:</b> When this checkbox is selected, all the messages you send from this account will be digitally signed unless you indicate otherwise before you send the message. To turn off this setting, deselect the checkbox. </ul>
|
|
<li>Under Encryption (choose one):</li>
|
|
<ul><li><b>Never:</b> When this option is selected, all messages you send from this account will be not be encrypted unless you indicate otherwise before you send the message.
|
|
<li><b>Required:</b> When this option is selected, all the messages you send from this account will be encrypted—but only if you have valid certificates for each of the message's recipients. If you don't have all the necessary certificates, the message can't be sent unless you turn off encryption for that message.
|
|
</ul></ul>
|
|
|
|
<p>When you have finished configuring your mail security settings, click OK to confirm them.
|
|
|
|
|
|
<p> </p>
|
|
<a NAME="signing"></a>
|
|
<h2>Signing & Encrypting a New Message</h2>
|
|
|
|
<p>Before you can digitally sign or encrypt any message, you must obtain at least one email certificate and configure your mail security settings correctly. For background information on these tasks, see <a href="#about_sigs_encrypt">About Digital Signatures & Encryption</a>.
|
|
|
|
<p>The settings specified in <a href="mail_help.html#security_settings">Mail & Newsgroups Account Settings - Security</a> determine the default settings for each new Compose window you open when you set out to write an email.
|
|
|
|
<p>To open a Compose window, start from the Mail window and click Compose. You can immediately identify the default security settings from the presence or absence of these icons near the lower-right corner of the window:</p>
|
|
|
|
<table><tr><td> </td><td><img src="chrome://messenger/skin/smime/icons/hdrSignOk.gif" alt="digital signature icon"></td><td>The message will be digitally signed (assuming you have a valid email certificate that identifies you).</td>
|
|
<tr><td> </td><td><img src="chrome://messenger/skin/smime/icons/hdrCryptoOk.gif" alt="digital signature icon"></td><td>The message will be encrypted (assuming you have valid certificates for all recipients).</td></table>
|
|
</ul>
|
|
<p>To turn these settings off or on, click the arrow just below the Security icon in the Mail toolbar near the top of the window. Then select the item you want from the drop-down list:
|
|
|
|
<li><b>No Encryption:</b> Choose this to turn off encryption for this message. The message will be sent in the clear over the Internet.
|
|
<li><b>Require Encryption:</b> Choose this to turn on encryption for this message. The message will be sent in encrypted form. However, it can't be sent unless you have valid certificates for all recipients.
|
|
<li><b>Digitally Sign:</b> Choose this to turn digital signing on or off for this message. A checkmark indicates the message will be signed.
|
|
<li><b>Message Security:</b> Choose this to view detailed information about the security status of this message—to help you determine, for example, whether you need to obtain a certificate for one of the recipients.
|
|
</ul>
|
|
<p>To see more detailed information about the message's security, click the key or lock icon, or follow the instructions in <a href="#compose_security">Message Security - Compose</a>.
|
|
|
|
|
|
<p> </p>
|
|
<a name="security:checking_for_received_messagesIDX"</a>
|
|
<a name="checking_security_for_received_messagesSDX"</a>
|
|
<a NAME="reading"></a>
|
|
<h2>Reading Signed & Encrypted Messages</h2>
|
|
|
|
<p>When you view a signed or encrypted message in the Mail window, these icons near the upper-right corner of the message header indicate the security status of the message:</p>
|
|
|
|
|
|
<table><tr><td> </td><td><img src="chrome://messenger/skin/smime/icons/hdrSignOk.gif" alt="digital signature icon"></td><td>The message is digitally signed. If there is a problem with the signature, the pen is broken.</td>
|
|
<tr><td> </td><td><img src="chrome://messenger/skin/smime/icons/hdrCryptoOk.gif" alt="key icon"></td><td>The message is encrypted. If there is a problem with the encryption, the key is broken.</td></table>
|
|
|
|
|
|
<p>To see more detailed information about the message's security, click the key or lock icon, or follow the instructions in <a href="#received_security">Message Security - Received Message</a>.
|
|
|
|
|
|
<p> </p>
|
|
|
|
<a NAME="encryption:status_of_message_before sendingIDX"></a>
|
|
<a name="security:checking_before_sending_messageIDX"</a>
|
|
<a name="checking_security_before_sending_messageSDX"</a>
|
|
<a NAME="compose_security"></a><hr>
|
|
<h2>Message Security - Compose</h2>
|
|
|
|
<p>This section describes the Message Security window that you can open for any message you are composing. If you're not already viewing Message Security, click the Security icon in the toolbar of the Compose window.
|
|
|
|
|
|
<p>The Message Security window describes how your message will be sent:
|
|
|
|
<ul>
|
|
<li><b>Digitally Signed:</b> This line describes whether your message will be signed. There are three possibilities:</li>
|
|
|
|
<ul>
|
|
<li><b>Yes.</b> Digital signing has been enabled for this message, you have a valid certificate identifying you, and the message can be be signed.
|
|
<li><b>No.</b> Digital signing has been disabled for this message.
|
|
<li><b>Not possible.</b> Digital signing has been enabled for this message. However, a valid <a href="glossary.html#certificate">certificate</a> identifying you for this purpose is not available, or there is some other problem that makes signing impossible.
|
|
|
|
</ul>
|
|
|
|
|
|
<li><b>Encrypted:</b> This line describes whether your message will be encrypted. There are three possibilities:</li>
|
|
<ul>
|
|
<li><b>Yes.</b> Encryption has been enabled for this message, valid certificates for all listed recipients are available, and the message can be encryted.
|
|
<li><b>No.</b> Encryption has been disabled for this message.
|
|
<li><b>Not possible.</b> Encryption has been enabled for this message. However, a valid certificate for at least one of the listed recipients is not available, or no recipients are listed, or there is some other problem that makes encryption impossible.
|
|
|
|
</ul>
|
|
</ul>
|
|
|
|
<p>The Message Security window also lists the certifiates available for the recipients of your message:
|
|
|
|
<ul>
|
|
<li><b>View.</b> To view the details for any certificate in the list, select its name, then click View.
|
|
</ul>
|
|
|
|
<p>For more information about obtaining certificates and configuring message security settings, see <a href="#secure_mail_first">Signing & Encrypting Messages</a>
|
|
|
|
<p>To indicate your signing or encryption choices for an individual message, click the arrow beside the Security button in the Compose window, then select the options you want.
|
|
|
|
<p>To indicate your default signing and encryption preferences for all messages, see <a href="mail_help.html#security_settings">Mail & Newsgroups Account Settings - Security</a>
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
<a NAME="encryption:status_of_received messageIDX"></a>
|
|
<a NAME="received_security"></a>
|
|
<hr><h2>Message Security - Received Message</h2>
|
|
|
|
<p>This section describes the Message Security window that you can open for any message you have received. If you're not already viewing Message Security for a received message, follow these steps:
|
|
|
|
<ol>
|
|
<li>In the Mail window, select the message for which you want to view security information.
|
|
<li>Open the View menu and choose Message Security Information.
|
|
</ol>
|
|
|
|
<p>The Message Security window displays the following information:
|
|
|
|
<ul>
|
|
<li><b>Digital Signature.</b> The top section describes whether the message is digitally signed and if so, whether the signature is valid.
|
|
|
|
<p>If validation failed while OCSP was enabled, check the OCSP settings in <a href="validation_help.html#validation_first">Privacy & Security Preferences - Validation</a>. If you are not familiar with OCSP, confirm the settings with your system administrator. If your settings are correct, there may be a problem with the OCSP service or the certificate used to create the signature is no longer valid. </li>
|
|
|
|
<p>If the signature is invalid because of a problem with a certificate's trust settings, you can use the <a href="certs_help.html">Certificate Manager</a> to view or edit those settings.
|
|
<li><b>View Signature Certificate.</b> If the message is signed, click this button to view the certificate that was used to sign it.
|
|
|
|
<li><b>Encryption.</b> The bottom section reports whether the message is encrypted and any decrypting problems.</li>
|
|
|
|
<ul>
|
|
<li>If the message's contents have been altered during transit, you should ask the sender to resend it. The changes may have been caused by network problems.
|
|
|
|
<li>If a copy of your own certificate (used by the sender to encrypt the message) is not available on your computer, the private key required to decrypt the message cannot be retrieved. The only solution is to import a backup copy of your certificate and its private key (see <a href="certs_help.html#My_Certificates">Your Certificates</a> for details.) If you don't have access to a backup certificate, you will not be able to decrypt the message.
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
<p>
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
<p><i>17 May 2002</i></p>
|
|
<p>Copyright © 1994-2002 Netscape Communications Corporation.</p>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|