Skip to content

Commit 50bd3e0

Browse files
committed
squash
1 parent 19e1ba3 commit 50bd3e0

File tree

3 files changed

+2
-39
lines changed

3 files changed

+2
-39
lines changed

docs/plugins/pluggable_authentication.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -85,39 +85,3 @@ Since PAM requires the user's password in plaintext, iRODS relies on SSL encrypt
8585
In order to use the iRODS PAM support, you also need to have SSL working between the iRODS client and server.
8686

8787
See [SSL/TLS Documentation](../../system_overview/ssl_and_tls) for instructions to set up SSL/TLS communications between iRODS clients and servers.
88-
89-
After setting up SSL on the server side, test SSL by using the PAM authentication (which requires an SSL connection) and running ``iinit`` with the log level set to LOG_NOTICE.
90-
91-
If you see messages as follows, you need to set up trust for the server's certificate, or you need to turn off server verification. See [Server Verification Settings](../../system_overview/ssl_and_tls#server-verification-settings) for more details about how to do this.
92-
93-
Error from non-trusted self-signed certificate:
94-
95-
~~~
96-
irods@hostname:~/ $ IRODS_LOG_LEVEL=LOG_NOTICE iinit
97-
NOTICE: environment variable set, irods_log_level(input)=LOG_NOTICE, value=5
98-
NOTICE: created irods_home=/dn/home/irods
99-
NOTICE: created irods_cwd=/dn/home/irods
100-
Enter your current PAM (system) password:
101-
NOTICE: sslVerifyCallback: problem with certificate at depth: 0
102-
NOTICE: sslVerifyCallback: issuer = /C=US/ST=North Carolina/L=Chapel Hill/O=RENCI/CN=irods.example.org
103-
NOTICE: sslVerifyCallback: subject = /C=US/ST=North Carolina/L=Chapel Hill/O=RENCI/CN=irods.example.org
104-
NOTICE: sslVerifyCallback: err 18:self signed certificate
105-
ERROR: sslStart: error in SSL_connect. SSL error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
106-
sslStart failed with error -2103000 SSL_HANDSHAKE_ERROR
107-
~~~
108-
109-
Error from untrusted CA that signed the server certificate:
110-
111-
~~~
112-
irods@hostname:~/ $ IRODS_LOG_LEVEL=LOG_NOTICE iinit
113-
NOTICE: environment variable set, irods_log_level(input)=LOG_NOTICE, value=5
114-
NOTICE: created irods_home=/dn/home/irods
115-
NOTICE: created irods_cwd=/dn/home/irods
116-
Enter your current PAM (system) password:
117-
NOTICE: sslVerifyCallback: problem with certificate at depth: 1
118-
NOTICE: sslVerifyCallback: issuer = /C=US/ST=North Carolina/O=example.org/CN=irods.example.org Certificate Authority
119-
NOTICE: sslVerifyCallback: subject = /C=US/ST=North Carolina/O=example.org/CN=irods.example.org Certificate Authority
120-
NOTICE: sslVerifyCallback: err 19:self signed certificate in certificate chain
121-
ERROR: sslStart: error in SSL_connect. SSL error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
122-
sslStart failed with error -2103000 SSL_HANDSHAKE_ERROR
123-
~~~

docs/system_overview/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ This file defines the behavior of the server Agent that answers individual reque
408408

409409
// (Optional)
410410
// Defines server-side TLS configurations. Although the "tls" object itself is optional,
411-
// all sub-items are required if "tls" is defined.
411+
// all sub-properties are required if "tls" is defined.
412412
"tls": {
413413
// Absolute path to the file containing the server's certificate chain.
414414
// The certificates must be in PEM format and must be sorted starting with the subject's

docs/system_overview/ssl_and_tls.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,14 @@ The client may or may not require configuration at the SSL level, but there are
108108

109109
### Server Verification Settings
110110

111-
Server verification can be turned off using the irods_ssl_verify_server `irods_environment.json` property. If this variable is set to 'none', then any certificate (or none) is accepted by the client. This means that your connection will be encrypted, but you cannot be sure to what server (i.e. there is no server authentication). For that reason, this mode is discouraged.
111+
Server verification can be turned off using the `irods_ssl_verify_server` `irods_environment.json` property. If this variable is set to 'none', then any certificate (or none) is accepted by the client. This means that your connection will be encrypted, but you cannot be sure to what server (i.e. there is no server authentication). For that reason, this mode is discouraged.
112112

113113
It is much better to set up trust for the server's certificate, even if it is a self-signed certificate. The easiest way is to use the irods_ssl_ca_certificate_file `irods_environment.json` property to contain all the certificates of either hosts or CAs that you trust. If you configured the server as described above, you could just set the following property in your `irods_environment.json`:
114114

115115
~~~
116116
"irods_ssl_ca_certificate_file": "/etc/irods/chain.pem"
117117
~~~
118118

119-
120119
Or this file could just contain the root CA certificate for a CA-signed server certificate. Another potential issue is that the server certificate does not contain the proper FQDN (in either the Common Name field or the subjectAltName field) to match the client's 'irods_host' property. If this situation cannot be corrected on the server side, the client can set:
121120

122121
~~~

0 commit comments

Comments
 (0)