Certificates in Remote Desktop Services need to meet the following requirements:
The certificate is installed in the local computer’s “Personal” certificate store.
The certificate has a corresponding private key.
The Enhanced Key Usage extension has a value of either “Server Authentication” or “Remote Desktop Authentication” (1.3.6.1.4.1.311.54.1.2). You can also use certificates with no Enhanced Key Usage extension.
Folder="/mnt/d/User"
function find.file(){
x="$IFS";
IFS=$'\n';
for File in $(find "$Folder"/. -regex ".*pdf" | sort -r );
do
IFS="$x"
if [[ -n "${File[@]}" ]];
then rename "${File[@]}"
fi
done
}
https://medium.com/@nikosmouroutis/how-to-setup-yo...