X509 Subject Formatting
Published Oct 18, 2019
Version 1.0Was this article helpful?
to prevent this issue, you can replace lines 13 to 20 with:
array set dn [list]
foreach {key val} [ split [string map {"\\," "\\," "," "|" "\\=" "\\=" "=" "|"} $subject] "|"] {
lappend dn([string trim $key]) [string trim $val]
}