Reorder Groups in Cert Subjects
Reorder Groups in Cert Subjects

This is to workaround Bug #18715, which is caused by Golang Crypto's x509
certificate generation ordering Subjects RDN incorrectly *and* GNUTLS'
bug that "fixes" client certs on read with the correct encoding.

To avoid issues until both are fixed we set the correct ordering on our
own...

Signed-off-by: Simo Sorce <65f99581a93cf30dafc32b5c178edc6b0294a07f@redhat.com>

coreydaley/origin,rajatchopra/origin,linzhaoming/origin,csrwng/origin,liggitt/origin,aveshagarwal/origin,nak3/origin,ramr/origin,wjiangjay/origin,jeremyeder/origin,ingvagabund/origin,mrogers950/origin,bparees/origin,ryanj/origin,nak3/origin,spadgett/origin,juanvallejo/origin,pweil-/origin,Miciah/origin,sdminonne/origin,liggitt/origin,wjiangjay/origin,luciddreamz/origin,JacobTanenbaum/origin,hferentschik/origin,PI-Victor/origin,mdshuai/origin,ramr/origin,kargakis/origin,jwhonce/origin,tnozicka/origin,PI-Victor/origin,kargakis/origin,imcsk8/origin,tnozicka/origin,jwhonce/origin,ironcladlou/origin,legionus/origin,aveshagarwal/origin,imcsk8/origin,JacobTanenbaum/origin,hferentschik/origin,spadgett/origin,xiuwang/origin,Miciah/origin,mrogers950/origin,csrwng/origin,mkumatag/origin,pecameron/origin,mdshuai/origin,aveshagarwal/origin,pecameron/origin,rajatchopra/origin,sdminonne/origin,jim-minter/origin,jsafrane/origin,miminar/origin,markllama/origin,rajatchopra/origin,childsb/origin,dobbymoodge/origin,pweil-/origin,pravisankar/origin,danmcp/origin,anpingli/origin,bparees/origin,gabemontero/origin,imcsk8/origin,akram/origin,spadgett/origin,pravisankar/origin,ryanj/origin,ingvagabund/origin,ryanj/origin,deads2k/origin,dinhxuanvu/origin,enj/origin,jim-minter/origin,wjiangjay/origin,ramr/origin,mahak/origin,jwhonce/origin,kargakis/origin,sallyom/origin,danmcp/origin,juanvallejo/origin,linzhaoming/origin,gabemontero/origin,miminar/origin,spadgett/origin,childsb/origin,jwhonce/origin,ryanj/origin,mfojtik/origin,liggitt/origin,ironcladlou/origin,dobbymoodge/origin,ramr/origin,tnozicka/origin,markllama/origin,liangxia/origin,soltysh/origin,rajatchopra/origin,anpingli/origin,php-coder/origin,legionus/origin,mdshuai/origin,maxamillion/origin,enj/origin,mkumatag/origin,luciddreamz/origin,legionus/origin,mfojtik/origin,xiuwang/origin,enj/origin,liangxia/origin,spadgett/origin,sallyom/origin,miminar/origin,php-coder/origin,Miciah/origin,imcsk8/origin,coreydaley/origin,kargakis/origin,ryanj/origin,hferentschik/origin,wjiangjay/origin,jeremyeder/origin,markllama/origin,soltysh/origin,sjug/origin,linzhaoming/origin,coreydaley/origin,jeremyeder/origin,luciddreamz/origin,mrogers950/origin,juanvallejo/origin,miminar/origin,aveshagarwal/origin,hferentschik/origin,pravisankar/origin,hroyrh/origin,dinhxuanvu/origin,linzhaoming/origin,xiuwang/origin,jeremyeder/origin,liggitt/origin,sferich888/origin,markllama/origin,mdshuai/origin,liggitt/origin,mrogers950/origin,legionus/origin,csrwng/origin,juanvallejo/origin,wjiangjay/origin,markllama/origin,childsb/origin,jeremyeder/origin,jsafrane/origin,dinhxuanvu/origin,akram/origin,mrogers950/origin,deads2k/origin,mfojtik/origin,luciddreamz/origin,childsb/origin,maxamillion/origin,tnozicka/origin,liangxia/origin,nak3/origin,gabemontero/origin,childsb/origin,dobbymoodge/origin,php-coder/origin,imcsk8/origin,maxamillion/origin,openshift/origin,jwhonce/origin,juanvallejo/origin,legionus/origin,php-coder/origin,deads2k/origin,aveshagarwal/origin,sferich888/origin,akram/origin,pweil-/origin,luciddreamz/origin,jwhonce/origin,PI-Victor/origin,soltysh/origin,PI-Victor/origin,miminar/origin,jsafrane/origin,JacobTanenbaum/origin,openshift/origin,mrogers950/origin,luciddreamz/origin,liangxia/origin,rajatchopra/origin,ryanj/origin,php-coder/origin,mdshuai/origin,tnozicka/origin,dobbymoodge/origin,PI-Victor/origin,maxamillion/origin,tnozicka/origin,sjug/origin,bparees/origin,danmcp/origin,hroyrh/origin,pecameron/origin,rajatchopra/origin,miminar/origin,mahak/origin,juanvallejo/origin,kargakis/origin,childsb/origin,jim-minter/origin,maxamillion/origin,PI-Victor/origin,mdshuai/origin,sjug/origin,ironcladlou/origin,wjiangjay/origin,hferentschik/origin,liggitt/origin,liangxia/origin,dinhxuanvu/origin,dinhxuanvu/origin,sferich888/origin,pravisankar/origin,hferentschik/origin,php-coder/origin,ingvagabund/origin,pravisankar/origin,dobbymoodge/origin,markllama/origin,mkumatag/origin,sallyom/origin,liangxia/origin,hroyrh/origin,kargakis/origin,mahak/origin,anpingli/origin,dobbymoodge/origin,ramr/origin,imcsk8/origin,danmcp/origin,sdminonne/origin,linzhaoming/origin,openshift/origin