June 2014
Intermediate to advanced
696 pages
38h 52m
English
Creating a TLS socket server is almost exactly like creating a socket server, as discussed earlier in this chapter. The only differences is that there are additional options that you must pass into tls.createServer(), and there are some additional events that can be triggered on the tls.Server object. The options, listed in Table 8.9, allow you to specify the security options for the server. Table 8.10 lists the additional events for the TLS socket server. The most important options are key, cert, and ca.
Table 8.9 ...
Read now
Unlock full access