Openssl, how to avoid the request and instruct command to take from configuration file?

Creating a certificate request I use this line

openssl req -config ssl.config -newkey rsa:4096 -keyout `hostname`.key -out `hostname`.req

in “ssl.config” I put the province, state, mail..etc
the syntax is correct.
But when I create the certificate/key it ask for province, etc..
Is possible to made it non-interactive?

I know this flag

-subj "/C=IT/ST=STATE/L=Location/O=Organization/CN=`hostname`"

but I want the command read it from ssl.config and don’t ask..is possible?