Hello,
I am running version testssl.sh version 3.2.2 from https://testssl.sh/
I couldn't find anything related to this issue.
The code calculating certificates validity displays an error message from the date command due to an unsupported option (-j). Therefore this error exists independently of the targets.
Common Name (CN) testssl.sh (CN in response to request w/o SNI: default.name )
subjectAltName (SAN) borken.testssl.sh dev.testssl.sh testssl.sh
Trust (hostname) Ok via SAN and CN (SNI mandatory)
Chain of trust Ok
EV cert (experimental) no
Certificate Validity (UTC) error: unexpected argument '-j' found
tip: to pass '-j' as a value, use '-- -j'
Usage: date [OPTION]... [+FORMAT]...
date [OPTION]... [MMDDhhmm[[CC]YY][.ss]]
FORMAT controls the output. Interpreted sequences are:
| Sequence | Description | Example |
| -------- | -------------------------------------------------------------------- | ---------------------- |
| %% | a literal % | % |
| %a | locale's abbreviated weekday name | Sun |
| %A | locale's full weekday name | Sunday |
My system :
- OS: Ubuntu Questing Quokka (development branch)
- Platform: Linux 6.6.87.2-microsoft-standard-WSL2 x86_64
- OpenSSL + bash: Using OpenSSL 3.5.2 (Sep 1 2025) [~96 ciphers] Using bash 5.2.37
- date -V : date (uutils coreutils) 0.2.2
Additional context
This line code yearnow="$(date -juz GMT "+%Y-%m-%d %H:%M")" is called if$HAS_OPENBSDDATE is true.
This code block sets it to true depending on some conditions related to date commands :
HAS_OPENBSDDATE=false
if date -d @735275209 >/dev/null 2>&1; then
if date -r @735275209 >/dev/null 2>&1; then
# It can't do any conversion from a plain date output.
HAS_OPENBSDDATE=true
else
HAS_GNUDATE=true
fi
fi
Ubuntu 25.10 has transitionned from GNU Core-utils to Rust Core-utils and it seems that this changes the result of your test for flagging HAS_OPENBSDDATE.
Hello,
I am running version testssl.sh version 3.2.2 from https://testssl.sh/
I couldn't find anything related to this issue.
The code calculating certificates validity displays an error message from the
datecommand due to an unsupported option (-j). Therefore this error exists independently of the targets.My system :
Additional context
This line code
yearnow="$(date -juz GMT "+%Y-%m-%d %H:%M")"is called if$HAS_OPENBSDDATEis true.This code block sets it to true depending on some conditions related to
datecommands :Ubuntu 25.10 has transitionned from GNU Core-utils to Rust Core-utils and it seems that this changes the result of your test for flagging HAS_OPENBSDDATE.