I need some help regarding the LUA scripting for the authentication of a vpn client. I am currently able to get the CN information from the certificate, but it comes in the form of last.first.middle.id#. what I need to do is write a script that isolates the id# which is a 10 digit number and then add a @mil to it. For instance if the certificate is returning ( smith.joe.chris.1111111111 ) I need to change that to 1111111111@mil. Thank you for your help in advance.