|
74 | 74 | <para> |
75 | 75 | Create a directory for the TLS encryption key and certificate: |
76 | 76 | </para> |
77 | | -<screen>&prompt.sudo;-u gnome-remote-desktop <command>mkdir</command> -p <filename>~/.local/share/gnome-remote-desktop/</filename></screen> |
| 77 | +<screen>&prompt.sudo;-u gnome-remote-desktop <command>mkdir</command> -p <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/</filename></screen> |
78 | 78 | <para> |
79 | 79 | The <systemitem class="username">gnome-remote-desktop</systemitem> user is created |
80 | 80 | automatically when the <package>gnome-remote-desktop</package> package is installed. Its |
|
93 | 93 | </para> |
94 | 94 | <screen>&prompt.sudo;-u gnome-remote-desktop <command>openssl</command> req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj \ |
95 | 95 | /C=<replaceable>COUNTRY_CODE</replaceable>/ST=<replaceable>STATE</replaceable>/L=<replaceable>LOCALITY</replaceable>/O=<replaceable>ORGANIZATION</replaceable>/CN=&exampledomain1; \ |
96 | | - -out <filename>~/.local/share/gnome-remote-desktop/tls.crt</filename> \ |
97 | | - -keyout <filename>~/.local/share/gnome-remote-desktop/tls.key</filename></screen> |
| 96 | + -out <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt</filename> \ |
| 97 | + -keyout <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename></screen> |
98 | 98 | <para> |
99 | 99 | Replace the country code, state, locality, organization, and common name or omit |
100 | 100 | parameters you do not need. For the country code, use a two-letter <citetitle>ISO |
|
107 | 107 | If you prefer an interactive command to guide you through the certificate generation, |
108 | 108 | use <command>certtool</command> from the <package>gnutls</package> package: |
109 | 109 | </para> |
110 | | -<screen>&prompt.sudo;zypper in gnutls |
111 | | -&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-privkey --outfile <filename>~/.local/share/gnome-remote-desktop/tls.key</filename> |
112 | | -&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-self-signed --load-privkey <filename>~/.local/share/gnome-remote-desktop/tls.key</filename></screen> |
| 110 | +<screen>&prompt.sudo;<command>zypper</command> in gnutls |
| 111 | +&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-privkey \ |
| 112 | + --outfile <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename> |
| 113 | +&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-self-signed \ |
| 114 | + --load-privkey <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename></screen> |
113 | 115 | </step> |
114 | 116 | </stepalternatives> |
115 | 117 | </step> |
|
0 commit comments