/etc/ssl/ssl.pem error:02001002:system library:fopen:No such file or directory

storage:
dbPath: “/data/db”
systemLog:
path: “/data/log.mongod.log”
destination: “file”
replication:
replSetName: M103
net:
bindIp : “127.0.0.1,192.168.103.100”
ssl:
mode: “requireSSL”
PEMKeyFile: “/etc/ssl/ssl.pem”
CAFile: “/etc/ssl/SSLCA.pem”
security:
keyFile: “/data/keyfile”
processManagement:
fork : false

Are you asking for assistance or are you making a statement?

Assistance how to create the PEM key file it’s not exist

Show me the lecture/lab you’re talking about?

Hi @Milind_19368,

We have mentioned this configuration file in the lecture notes of the Lecture: Configuration File. This was just an example configuration file.

From the perspective of taking this course, I don’t think you need to know this. But, if you are interested then you can refer our documentation for more information on this.

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Support Engineer