Apple Mac OS X Server Guia de Configuração Página 41: Sound
sudo openssl req -new -x509 -days 365 -key ca.key -out ca.crt
When prompted, enter a strong passphrase for the key, as well as these fields:
Country Name:
Organizational Unit:
State or Province Name:
Common Name:
Locality Name (city):
Email Address:
Organization Name:
These fields should be filled out as accurately as possible, but those that don't apply
may be left blank. At least one field must be filled in.
This creates a self-signed certificate called
ca.crt
, using the keys in
ca.key
, which
is valid for a year (365 days). This limit may be set to a longer period of time,
although this is less secure. The issue is similar to changing passwords regularly; a
balance must be found between convenience and security.
We now have a Certificate Authority and are almost ready to start signing other
servers’ certificates. When signing certificates, OpenSSL looks for keys and related
information in directories specified in its configuration file
openssl.cnf
, which is
found in
/System/Library/OpenSSL
on Mac OS X systems and frequently in
/usr/share/ssl
on other systems. To create the directories and files where it
expects to find them by default, issue the following commands as an administrator:
cd /usr/share/certs
mkdir -p demoCA/private
cp ca.key demoCA/private/cakey.pem
cp ca.crt demoCA/cacert.pem
mkdir demoCA/newcerts
touch demoCA/index.txt
echo "01" > demoCA/serial
Now the CA is ready to sign certificates for servers, enabling encrypted
communications between servers and clients.
4.4.1.2 Creating an SSL Certificate for Web Services
If you’ve set up your own CA as described in the previous section, you can now sign
your own web server SSL certificates. First, a separate certificate must be created for
each domain name. For example, if a secure web page exists at www.mypage.net and
a secure mail server is at mail.mypage.net, two certificates are needed. This is
because the SSL protocol uses the certificate’s Common Name field to verify the
domain name.
On the machine set up as a CA, generate a key pair for the web server:
cd /usr/share/certs
sudo openssl genrsa -des3 -out webserver.key 2048
35
UNCLASSIFIED
Ficheiro PDF · ·
Perguntas sobre Apple Mac OS X Server
Ainda não há perguntas sobre este manual. Faça a primeira.
Manuais e produtos relacionados com Software Apple Mac OS X Server
- Software Apple Mac OS X Server Especificações
(88 páginas) - Software Apple Mac OS X Server Migration For Version 10.3 or Later Manual do Utilizador
(13 páginas) - Software Apple Motion 1.0.1 Manual do Utilizador
(15 páginas) - Software Apple Mac OS X Server Manual do Utilizador
(175 páginas) - Software Apple Mac OS X Panther Manual do Utilizador
(24 páginas) - Software Apple Newton Internet Enabler Guia do Utilizador
(26 páginas) - Software Apple Mac OS X Server Java Application Server Administration For Version 10.3 or Later Manual do Utilizador
(50 páginas) - Software Apple Newton Internet Enabler Especificações
(24 páginas) - Software Apple Education Software Installer 2011 System administrator`s guide Manual do Utilizador
(42 páginas) - Software Apple Shake Qmaster Manual do Utilizador
(42 páginas) - Software Apple MA434Z/A - Shake Manual do Utilizador
(13 páginas) - Software Apple Final Cut Studio Especificações
(116 páginas) - Software Apple DVD Studio Pro Manual do Utilizador
(36 páginas) - Software Apple Final Cut Express HD Manual do Utilizador
(14 páginas) - Software Apple iMac (Slot Loading) Manual de Reparação
(11 páginas) - Software Apple iPad and iPad mini (iOS 6.1 Software) Guia do Utilizador
(37 páginas) - Software Apple Final Cut Pro 5 Manual do Utilizador
(376 páginas) - Software Apple MB788 - Logic Express - Mac Manual do Utilizador
(4 páginas) - Software Apple Education Software Installer 2011 System administrator`s guide Especificações
(168 páginas) - Software Apple Motion Manual do Utilizador
(72 páginas)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69