| <Removed> | 05/27/15 - 12:24:33 | error | Backup Agent Manager | Error downloading new agent : <Backup Agent Manager> [12:24:33.800] Failed to download new agent at https://s3.amazonaws.com/mongodb-mms-build-agent/releases/prod/mongodb-mms-backup-agent-3.4.0.273-1.linux_x86_64.tar.gz : Get https://s3.amazonaws.com/mongodb-mms-build-agent/releases/prod/mongodb-mms-backup-agent-3.4.0.273-1.linux_x86_64.tar.gz: x509: certificate signed by unknown authority ( repeated 2 times ) | |
| <Removed> | 05/27/15 - 12:24:33 | error | Monitoring Agent Manager | Error downloading new agent : <Monitoring Agent Manager> [12:24:33.803] Failed to download new agent at https://s3.amazonaws.com/mongodb-mms-build-agent/releases/prod/mongodb-mms-monitoring-agent-3.3.0.183-1.linux_x86_64.tar.gz : Get https://s3.amazonaws.com/mongodb-mms-build-agent/releases/prod/mongodb-mms-monitoring-agent-3.3.0.183-1.linux_x86_64.tar.gz: x509: certificate signed by unknown authority ( repeated 2 times ) |
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/004b7e39-0db3-4d1f-9e4d-9d0f6c69e703%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/8IqDdS_B4Ck/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
The problem is mongodb automation agent uses the provided certificate not only for verifying certification of MMS server but also for verifying certification of amazon AWS sever where the agent downloads the updates ( https://s3.amazonaws.com/mongodb-mms-build-agent ) and those server certification has different certification path. MMS root certificate authority is UTN-USERFirst-Hardware while amazon AWS is VeriSign Class 3 Public Primary Certification Authority - G5.
A simple workaround could be merging two certificate PEM file into one and use it as sslTrustedMMSServerCertificate of mondodb automation agent.
cat /etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA.pem > /etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA_VeriSign_Class3_Root.pem
cat /etc/ssl/certs/VeriSign_Class_3_Public_Primary_Certification_Authority_G5.pem >> /etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA_VeriSign_Class3_Root.pem
sslTrustedMMSServerCertificate=/etc/ssl/certs/UTN_USERFirst_Hardware_Root_CA_VeriSign_Class3_Root.pem