Skip to content

Instantly share code, notes, and snippets.

View pocheptsov's full-sized avatar

slava pocheptsov pocheptsov

View GitHub Profile
@pocheptsov
pocheptsov / install_rds_certs_on_windows.md
Last active December 17, 2020 03:57 — forked from gingerjoos/install_rds_certs_on_windows.md
How to import Amazon RDS CA certificates into Windows 10

The official instructions will ask you to download a [pem file]. Windows will not read this PEM file properly; instead download the corresponding p7b file - https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.p7b.

Once you download the file, invoke the Certificate Manager program, certmgr.exe, from the command box that opens when you click the Start button. Instructions here. Make sure you import it into the "Trusted Root Certification Authorities" logical store.

certmgr /add /c rds-combined-ca-bundle.p7b /s /r localMachine root
using Norm;
using Norm.Responses;
using Norm.Collections;
using Norm.Linq;
public class MongoSession {
private string _connectionString;
public MongoSession() {