Mikel Posted April 4, 2016 #1 Share Posted April 4, 2016 Hi, we are testing the Remoteconnector and it works fine. How we can delete the automatically generated certificate on the user account.. We need the possebillity to activate or deactivate the User for the Remoteconnector. I think the best way is to delete the User Certificate on the Server. Thanks a lot for help. Greets Mikel Link to comment Share on other sites More sharing options...
Most Valued User Virikas Posted April 4, 2016 Most Valued User #2 Share Posted April 4, 2016 This is exactly what I asked the Swyx team and the answer was "there is actually no way to delete a certificate via Swyx admin". You could delete the certificate via certmgr.msc, but there is no way to get rid of the certificate hash within the users configuration, besides doing it directly via database (which is not supproted and not recommended!) Personally I think this is bad design! Link to comment Share on other sites More sharing options...
Mikel Posted April 11, 2016 Author #3 Share Posted April 11, 2016 Hi, thanks for the information. So the only way if you want to delete the cert from the useraccount via the administration tool is to delete the user and create him again. Not really admin friendly grrrrrr cheers Mikel Link to comment Share on other sites More sharing options...
Younes Posted April 12, 2016 #4 Share Posted April 12, 2016 Hi Mikel, You can also just generate a new certificate for the user in swyxware administration. The user cant loggon anymore through remoteconnector. But it will be pushed automatic if the user is logged on internal(lan) again. Link to comment Share on other sites More sharing options...
Most Valued User Virikas Posted April 13, 2016 Most Valued User #5 Share Posted April 13, 2016 18 hours ago, Younes said: But it will be pushed automatic And this is why this is no solution. Just because I created a certificate once for a user, I should NOT have to delete the whole user just to prevent him from using the remoteconnector again... Link to comment Share on other sites More sharing options...
Most Valued User SvenS Posted April 13, 2016 Most Valued User #6 Share Posted April 13, 2016 You can delete it with Powershell get-ippbxuser -Username "user" | Remove-IpPbxClientCertificate Link to comment Share on other sites More sharing options...
Mikel Posted April 13, 2016 Author #7 Share Posted April 13, 2016 Hi SvenS, big thanks for this tip. I tested it out and it works perfectly cheers Mikel Link to comment Share on other sites More sharing options...
ulfwil Posted October 21, 2016 #8 Share Posted October 21, 2016 Hi, anyone knowing how to generate pfx-files from powershell? I guess something like $type=[System.Security.Cryptography.X509Certificates.X509ContentType]::pfx $cert=Get-IpPbxClientCertificate -UserEntry $(get-ippbxuser -username 'Ulf Wilhelmsson') $bytes=$cert.Export($type) [system.convert]::ToBase64String($bytes) > file.pfx But I get errors on row => $bytes=$cert.Export($type) Exception calling "Export" with "1" argument(s): "Key not valid for use in specified state. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.