Note that 00 in 00.pem is the serial number of the certificate.
When I run this command, it also creates a file called 00.pem in the new certs directory.
The 00.pem has the same content as enduser-example.com.crt.
Here is the command:
openssl ca -batch -config enduser-certs/enduser-certs.conf -notext -in enduser-certs/enduser-example.com.csr -out enduser-certs/enduser-example.com.crt
The configuration file enduser-certs.conf is:
[ ca ]
default_ca = myca
[ crl_ext ]
issuerAltName=issuer:copy
authorityKeyIdentifier=keyid:always
 [ myca ]
 dir = /path/to/SSLCA/intermediates
 new_certs_dir = /path/to/SSLCA/enduser-certs
 unique_subject = no
 certificate = $dir/Example Intermediate Certificate Authority.crt
 database = $dir/certindex
 private_key = $dir/Example Intermediate Certificate Authority.key
 serial = $dir/certserial
 default_days = 365
 default_md = sha512
 policy = myca_policy
 x509_extensions = myca_extensions
 crlnumber = $dir/crlnumber
 default_crl_days = 25
 [ myca_policy ]
 countryName             = optional
 stateOrProvinceName     = optional
 localityName            = optional
 organizationName        = optional
 organizationalUnitName  = optional
 commonName              = supplied
 emailAddress            = optional
 [ myca_extensions ]
 basicConstraints = critical,CA:FALSE
 keyUsage = digitalSignature,keyEncipherment
 extendedKeyUsage = serverAuth
 subjectKeyIdentifier = hash
 authorityKeyIdentifier = keyid:always,issuer
 crlDistributionPoints = @crl_section
 authorityInfoAccess = @ocsp_section
 subjectAltName  = @alt_names
 [alt_names]
 DNS.0 = *.example.com
 DNS.1 = example.com
 [crl_section]
 URI.0 = http://pki.example.com/Example Intermediate Certificate Authority.crl
 [ocsp_section]
 OCSP;URI.0 = http://pki.example.com/ocsp/
 caIssuers;URI.0 = http://pki.example.com/Example Intermediate Certificate Authority.crt
Is this normal?