Connection string is not well-formed due to double quotes

When I add this security section in the connection string
(SECURITY=(SSL_SERVER_CERT_DN="cn=sales,cn=OracleContext,dc=us,dc=acme,dc=com"))
I get an error the connection string is not well-formed because of the double quotes, I am using Oracle.ManagedDataAccess version#12.2.1100 to connect to an oracle database

Connection String:
Data Source = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SID=td01))(SECURITY=(SSL_SERVER_CERT_DN="cn=sales,cn=OracleContext,dc=us,dc=acme,dc=com"))); User Id = DB1; Password = DB1

//Code Connection
connStr = new OracleConnection(OracleConnectionString);

0 answers