> openssl x509 -modulus -noout -in mycert.crt -out mymod.txt
> to output the modulus to the specified "out" file just like all other
> x509 commands with -out specified. It does not. Anybody know how to
> get the modulus sent to a file?
> openssl x509 -modulus -noout -in mycert.crt>mymod.txt works but is no
> good from a shell command in a program.
With "openssl x509" you can't write modulus to file because it is
always printed to stdout.