Skip to main content

Changes to Security Options for SSH & SSL Connections in JAMS

File Transfer using the SFTP File Type​

When using the SFTP Transfer type in a File Transfer Job, the Options tab will correspond with the screenshot below.

warning

The key size 1024 has been shown to be insecure. A minimum of 2048 is recommended.

File Transfer using the SCP File Type​

When using the SCP Transfer type in a File Transfer Job, the Options tab will look like the screenshot below.

In this case the Minimum Key Size property functions the same as described in the previous section.

File Transfer using the FTPS File Type​

In the File Transfer Job definition using the FTPS Transfer Type, the Options changes significantly from the previous two examples.

Similarly, the Minimum Key Size property functions in the same way as described in the above two sections.

The Allow TLS 1.0, Allow TLS 1.1, Allow TLS 1.2, and Allow TLS 1.3 options select which TLS versions the job accepts when it connects to a remote machine. JAMS uses exactly the versions that are selected. TLS 1.3 is not turned on by selecting TLS 1.2: to allow TLS 1.3, select Allow TLS 1.3 or Allow TLS Safe. If none of these options are selected, the job accepts every version JAMS supports, TLS 1.0 through TLS 1.3, and negotiates the best one the server offers.

The Allow TLS Safe option restricts the job to the TLS versions JAMS currently considers safe, which in this release are TLS 1.2 and TLS 1.3. It overrides the individual Allow TLS options. JAMS resolves it each time the job runs, so a job that uses it follows any future change to the safe set without being edited. Allow TLS Safe is the recommended setting.

  • Selecting Allow TLS Safe selects the safe versions and clears the others.
  • Selecting a version that is not safe, or clearing one that is, turns Allow TLS Safe off.

A new FTPS job has Allow TLS Safe, Allow TLS 1.2, and Allow TLS 1.3 selected. So does an FTPS activity added to a workflow from the Toolbox. Existing jobs and activities keep their settings when they are opened.

When an FTPS job uses a Connection, the Connection's SSL Versions property sets the TLS versions, including TLS13 and Safe, and the job's Allow TLS options are not used.

SSL 3.0 is no longer supported. The Allow SSL 3.0 option is labeled as not supported and cannot be selected. A job saved with it selected still shows it selected until Allow TLS Safe clears it. When the job runs, JAMS ignores SSL 3.0 if any TLS version is also selected. If SSL 3.0 is the only version selected, the job fails with this error:

SSL 3.0 is no longer supported, and no TLS version is selected. Select a TLS version or TLS Safe.

Require Secure Ciphers​

Require Secure Ciphers limits the job to the AES-GCM and ChaCha20-Poly1305 cipher suites, marked Secure in the JAMSSslCipherSuite list, and the TLS 1.3 cipher suites. CBC suites are not offered. The TLS versions are not changed.

These suites require TLS 1.2 or TLS 1.3. With Require Secure Ciphers selected, the job fails to connect when:

  • It allows only TLS 1.0 or TLS 1.1, with the error All usable cipher suites have been disabled. Allow TLS 1.2 or TLS 1.3.
  • The server offers only CBC suites over TLS 1.2. Clear Require Secure Ciphers.

File Transfer from Workflow Jobs​

When setting up a Workflow Job, the File Transfer, File Transfer Session, and Mail Server Sessions groups have been also been updated with additional properties for FtpDownload, FtpUpload, and FTPSession shown in the example below:

Connection security properties are grouped within the Security section. These options are the same as the previous descriptions for FileTransfer jobs. For FtpDownload specifically, the UseSSL property toggles the SSL connection security on or off.

FtpDownload, FtpUpload, and FTPSession always use Require Secure Ciphers unless their SSL mode is Unsecure. The property is UseSSL on FtpDownload and FtpUpload, and SSLMode on FTPSession. Require Secure Ciphers cannot be turned off for these activities, so they need TLS 1.2 or TLS 1.3.

note

Selecting Unsecure indicates it is using plain FTP without any SSL socket security layer.

The FtpDownload, FtpUpload, FTPSession, IMAPSession, POPSession, EWSSession, ForEachMailMessage, and ForEachAttachment activities include the AllowTLS1.3 and AllowTLSSafe properties alongside the other AllowTLS properties. They have the same meaning as the Allow TLS 1.3 and Allow TLS Safe options in a File Transfer Job. AllowTLSSafe overrides the AllowTLS properties and is resolved when the activity runs.

The AllowSSL property remains so that existing workflows still load, but SSL 3.0 can no longer be turned on. It is ignored when a TLS version is also selected, and the activity fails when SSL 3.0 is the only version selected.

For SftpDownload, SftpUpload, ScpDownload, ScpUpload, SFTPSession, and SCPSession activities, JAMS uses a new security property called MinimumDiffieHellmanKeySize, (or Minimum Key Size) as described in the previous sections.

For SSH-style connections using large key sizes will automatically disable insecure key algorithms that do not have high enough bit counts.

The IMAPSession, POPSession, ForEachMailMessage, and ForEachAttachment activities also incorporate the same security options from FTPS uploads and downloads.

JAMS PowerShell Plugin Updates for Connect-JFTPS, Connect-JIMAP, Connect-JPOP, Connect-JEWS, and Connect-JSFTP Activities​

The JAMS PowerShell also exposes similar parameters for Connect-JFTPS, Connect-JIMAP, Connect-JPOP, Connect-JEWS, and Connect-JSFTP. The screenshots below show the parameters for Connect-JFTPS, Connect-JIMAP, Connect-JPOP, and Connect-JSFTP.

Connect-JFTPS, Connect-JIMAP, Connect-JPOP, and Connect-JEWS also accept the following TLS version switches.

SwitchDescription
-AllowTLS13TLS 1.3 is an accepted protocol.
-TLSSafeUse the TLS versions JAMS currently considers safe, which in this release are TLS 1.2 and TLS 1.3. Overrides the -AllowTLS switches.
-AllowSSLNo longer supported. Ignored, with a warning, when a TLS version is also chosen. The cmdlet fails when it is the only version chosen. Kept so that existing scripts that also name a TLS version still run.
warning

When a cmdlet names the server directly and no -Allow switch, -TLSSafe switch, or JAMSSslVersion SSL parameter is given, the cmdlet now uses TLS Safe. In JAMS 7.9.2, the same call allowed TLS 1.0 through TLS 1.2. A script that connects to a server supporting only TLS 1.0 or TLS 1.1 must name that version, or pass -TLSSafe:$false to accept every version JAMS supports.

SSH Parameters for SSH Activities​

SSH-based FileTransfer (SCP, SFTP) Jobs and WorkFlow Jobs that use SSH activities (ScpDownload, ScpUpload, SftpDownload, SftpUpload, SCPSession, SFTPSession) also add the SSH parameters listed below.

JAMSSshMinimumKeySize - Decimal minimum Diffie-Hellman key size. The default is 1024.

JAMSRsaMinimumSize - Decimal minimum RSA key size. The default is 1023.

JAMSSshCompression - To use compression, select true or false. The default is false.

JAMSSshCompressionLevel - To set the compression level to use, select 0 to 9. The default is 5.

JAMSSshEncryption - Comma separated list of Encryption Algorithms. Select one or more from the list:

  • RC4
  • TripleDES
  • AES
  • Blowfish
  • Twofish
  • ChaCha20Poly1305

JAMSSshHostKey - SSH Host Key Algorithm. Select one or more from the list:

  • RSA
  • DSS
  • Certificate
  • ED25519
  • ECDsaNistP256
  • ECDsaNistP384
  • ECDsaNistP521
  • ECDsaSecp256k1
  • MLDsa44 [Post-Quantum]
  • MLDsa65 [Post-Quantum]
  • MLDsa87 [Post-Quantum]

This setting controls which algorithms are offered, not the order they are offered in. The default set does not include the MLDsa algorithms. To have one advertised, name it explicitly.

JAMSSshKeyExchange- SSH Key Exchange Algorithm. Select one or more from the list:

  • DiffieHellmanGroup1SHA1
  • DiffieHellmanGroup14SHA1
  • DiffieHellmanGroupExchangeSHA1
  • DiffieHellmanGroupExchangeSHA256
  • ECDiffieHellmanNistP256
  • ECDiffieHellmanNistP384
  • ECDiffieHellmanNistP521
  • ECDiffieHellmanSecp256k1
  • Curve25519
  • DiffieHellmanOakleyGroupSHA256
  • DiffieHellmanOakleyGroupSHA512
  • MLKem768 [Post-Quantum]
  • MLKem1024 [Post-Quantum]

MLKem768 and MLKem1024 are post-quantum hybrids that pair ML-KEM with a classical key exchange. MLKem768 is advertised as mlkem768x25519-sha256 and mlkem768nistp256-sha256, and MLKem1024 as mlkem1024nistp384-sha384. JAMS enables the classical half each one needs, but does not offer that classical algorithm on its own unless it is also named.

JAMSSshMacAlgorithm- SSH Mac Algorithm. Select one or more from the list:

  • MD5
  • SHA1
  • SHA256
  • SHA512

SSL Parameters for SSL/TLS Activities​

SSL-based File Transfer (FTPS) Jobs and Workflow Jobs that use SSL/TLS activities (FtpDownload, FtpUpload, FTPSession, IMAPSession, POPSession, ForEachAttachment, ForEachMailMessage) add the SSL parameters listed below:

JAMSSslMinimumKeySize- Decimal minimum Diffie-Hellman key size. The default is 1024.

note

The same functionality as JAMSSshMinimumKeySize is used for SSH connections.

JAMSSslCipherSuite - Comma separated list of Ssl Cipher Suites.

  • DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA [Vulnerable]
  • DHE_DSS_EXPORT1024_WITH_RC4_56_SHA [Vulnerable]
  • DHE_DSS_EXPORT_WITH_DES40_CBC_SHA [Vulnerable]
  • DHE_DSS_WITH_3DES_EDE_CBC_SHA [Weak]
  • DHE_DSS_WITH_AES_128_CBC_SHA [Weak]
  • DHE_DSS_WITH_AES_128_CBC_SHA256 [Weak]
  • DHE_DSS_WITH_AES_128_GCM_SHA256 [Weak]
  • DHE_DSS_WITH_AES_256_CBC_SHA [Weak]
  • DHE_DSS_WITH_AES_256_CBC_SHA256 [Weak]
  • DHE_DSS_WITH_AES_256_GCM_SHA384 [Weak]
  • DHE_DSS_WITH_DES_CBC_SHA [Vulnerable]
  • DHE_DSS_WITH_RC4_128_SHA [Vulnerable]
  • DHE_RSA_EXPORT_WITH_DES40_CBC_SHA [Vulnerable]
  • DHE_RSA_WITH_3DES_EDE_CBC_SHA [Weak]
  • DHE_RSA_WITH_AES_128_CBC_SHA [Weak]
  • DHE_RSA_WITH_AES_128_CBC_SHA256
  • DHE_RSA_WITH_AES_128_GCM_SHA256 [Secure]
  • DHE_RSA_WITH_AES_256_CBC_SHA [Weak]
  • DHE_RSA_WITH_AES_256_CBC_SHA256
  • DHE_RSA_WITH_AES_256_GCM_SHA384 [Secure]
  • DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 [Secure]
  • DHE_RSA_WITH_DES_CBC_SHA [Vulnerable]
  • DH_anon_WITH_3DES_EDE_CBC_SHA [Anonymous]
  • DH_anon_WITH_AES_128_CBC_SHA [Anonymous]
  • DH_anon_WITH_AES_128_CBC_SHA256 [Anonymous]
  • DH_anon_WITH_AES_256_CBC_SHA [Anonymous]
  • DH_anon_WITH_AES_256_CBC_SHA256 [Anonymous]
  • DH_anon_WITH_DES_CBC_SHA [Anonymous]
  • DH_anon_WITH_RC4_128_MD5 [Anonymous]
  • ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA [Weak]
  • ECDHE_ECDSA_WITH_AES_128_CBC_SHA [Weak]
  • ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 [Fast]
  • ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 [Fast Secure]
  • ECDHE_ECDSA_WITH_AES_256_CBC_SHA [Weak]
  • ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 [Fast]
  • ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 [Fast Secure]
  • ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 [Secure]
  • ECDHE_ECDSA_WITH_RC4_128_SHA [Vulnerable]
  • ECDHE_RSA_WITH_3DES_EDE_CBC_SHA [Weak]
  • ECDHE_RSA_WITH_AES_128_CBC_SHA [Weak]
  • ECDHE_RSA_WITH_AES_128_CBC_SHA256 [Fast]
  • ECDHE_RSA_WITH_AES_128_GCM_SHA256 [Fast Secure]
  • ECDHE_RSA_WITH_AES_256_CBC_SHA [Weak]
  • ECDHE_RSA_WITH_AES_256_CBC_SHA384 [Fast]
  • ECDHE_RSA_WITH_AES_256_GCM_SHA384 [Fast Secure]
  • ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 [Secure]
  • ECDHE_RSA_WITH_RC4_128_SHA [Vulnerable]
  • RSA_EXPORT1024_WITH_DES_CBC_SHA [Vulnerable]
  • RSA_EXPORT1024_WITH_RC4_56_SHA [Vulnerable]
  • RSA_EXPORT_WITH_DES40_CBC_SHA [Vulnerable]
  • RSA_EXPORT_WITH_RC2_CBC_40_MD5 [Vulnerable]
  • RSA_EXPORT_WITH_RC4_40_MD5 [Vulnerable]
  • RSA_WITH_3DES_EDE_CBC_SHA [Weak]
  • RSA_WITH_AES_128_CBC_SHA [Weak]
  • RSA_WITH_AES_128_CBC_SHA256 [Fast]
  • RSA_WITH_AES_128_GCM_SHA256 [Fast Secure]
  • RSA_WITH_AES_256_CBC_SHA [Weak]
  • RSA_WITH_AES_256_CBC_SHA256 [Fast]
  • RSA_WITH_AES_256_GCM_SHA384 [Fast Secure]
  • RSA_WITH_DES_CBC_SHA [Vulnerable]
  • RSA_WITH_RC4_128_MD5 [Vulnerable]
  • RSA_WITH_RC4_128_SHA [Vulnerable]

JAMSSslEllipticCurve - Comma separated list of TLS Elliptic Curves.

  • NistP256
  • NistP384
  • NistP521
  • BrainpoolP256R1
  • BrainpoolP384R1
  • BrainpoolP512R1
  • Curve25519

JAMSSslNamedGroups - Comma separated list of TLS key agreement groups to offer, in order of preference.

  • Classic groups: X25519, Secp256r1, Secp384r1, Secp521r1
  • Finite field groups: Ffdhe2048, Ffdhe3072, Ffdhe4096
  • Brainpool groups: BrainpoolP256r1tls13, BrainpoolP384r1tls13, BrainpoolP512r1tls13
  • Post-Quantum hybrid groups: X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024

JAMS narrows JAMSSslEllipticCurve to the curves the listed groups use, so the ClientHello offers only the listed groups and the setting also governs the curve chosen for TLS 1.2 key exchange. The finite field and Post-Quantum groups have no elliptic curve equivalent. A list made up only of those leaves JAMSSslEllipticCurve unchanged, so its curves are still offered; narrow JAMSSslEllipticCurve as well to restrict the ClientHello further.

The Brainpool groups are also offered under their TLS 1.2 code points so that the same curve can still be negotiated below TLS 1.3. Set JAMSSslVersion to TLS13 to offer only the TLS 1.3 groups. Leave the parameter empty to let the client and server negotiate.

JAMSSslSignatureSchemes - Comma separated list of TLS signature schemes to offer, in order of preference. The ClientHello carries this list, in this order.

  • RSA: Rsa_pkcs1_sha256, Rsa_pkcs1_sha384, Rsa_pkcs1_sha512
  • RSA-PSS (TLS 1.3 only): Rsa_pss_rsae_sha256, Rsa_pss_rsae_sha384, Rsa_pss_rsae_sha512
  • ECDSA: Ecdsa_secp256r1_sha256, Ecdsa_secp384r1_sha384, Ecdsa_secp521r1_sha512
  • Brainpool ECDSA (TLS 1.3 only): Ecdsa_brainpoolP256r1tls13_sha256, Ecdsa_brainpoolP384r1tls13_sha384, Ecdsa_brainpoolP512r1tls13_sha512
  • EdDSA: Ed25519
  • Post-Quantum (TLS 1.3 only): Mldsa44, Mldsa65, Mldsa87
  • Legacy SHA-1 [Weak]: Rsa_pkcs1_sha1, Ecdsa_sha1, Dsa_sha1 (Dsa_sha1 is TLS 1.2 and earlier only)

A scheme is offered only in the TLS versions it is defined for. If none of the listed schemes can be offered over TLS 1.2 or earlier and those versions are still allowed, JAMS appends the default TLS 1.2 schemes after the listed ones so that the connection can still be negotiated. The listed schemes stay preferred, and the job log records which schemes were added. To offer exactly the listed schemes with no fallback, set JAMSSslVersion to TLS13. Leave the parameter empty to let the client and server negotiate.

note

Post-Quantum named groups and signature schemes require an operating system with post-quantum cryptography support. A named group that is not available on the machine is logged and ignored.

JAMSSslNamedGroups and JAMSSslSignatureSchemes correspond to the SSL Named Groups and SSL Signature Schemes properties on FTP, EWS, SMTP, IMAP, and POP3 Connections and on Passive Agents.

JAMSSslVersion- Comma separated list of TLS Versions.

  • TLS10
  • TLS11
  • TLS12
  • TLS13
  • Any: every version JAMS supports, TLS 1.0 through TLS 1.3
  • Safe: the TLS versions JAMS currently considers safe, which in this release are TLS 1.2 and TLS 1.3. JAMS resolves Safe when the connection is made, and it overrides any other versions in the list.
note

Only TLS 1.2 and TLS 1.3 are considered secure. SSL 3.0 is no longer supported: SSL30 is ignored when other versions are listed, and a list containing only SSL30 is refused.