Skip to content
shell{&}co

shell{&}co

Menu

  • News
    • Bug and tips
  • Automation
    • Ansible
  • Scripts & Code
    • Perl
      • Network
    • PHP
    • Powershell
      • Active Directory
      • Citrix
      • Cluster
      • Database
      • Exchange
      • Files and folders
      • Hardware
      • Network
      • Operating System
      • PKI
      • SCCM
      • Service and process
      • Tips
      • VMWare
    • Python
      • Monitoring
      • Network
      • PKI
      • Ruby
      • Security
    • Shell
      • Backup
      • Filesystem
      • Image processing
      • Monitoring
      • Network
      • PKI
      • Process
      • Time
      • Virtualization
      • Web
  • Fun
  • Project
    • Github
    • Log Analyzer

    pwddb – a self-hosted password repository

    If you want to test and evaluate my work, do not hesitate to clone this open-source project at this address : https://gitlab.com/shellandco/pwddb I hope the readme file will be enough to help you on building this container infra. I say

    shellandco_admin March 16, 2021March 16, 2021 Project, Security No Comments Read more

    OpenSSL useful commands

    In this post, you will find below some useful usage of the OpenSSL tool. This commands can be used on both Linux and Windows environment. For the Windows OS, I have choosen to use the pre-compiled packages at conan.io (version

    shellandco_admin July 3, 2019 PKI, Security, Shell No Comments Read more

    List duplicated valid certificates on a MS PKI version 3

    Description One more version of the script provided some weeks ago. This is a minor update but it can be helpful. In that version, the duplicated valid certificates are listed and two options are shown : keep or revoke. It

    shellandco_admin March 16, 2018 News, PKI, Powershell, Security No Comments Read more

    List duplicated valid certificates on a MS PKI version 2

    Description I have written another version of the script provided some weeks ago. This new version is looking for duplicated valid certificates based on both CommonName and Certificate template. The first version checked only the CommonName. All of this cmdlets

    shellandco_admin March 15, 2018 PKI, Powershell, Security No Comments Read more

    Microsoft PKI: revoke expired certificates

    Microsoft PKI: revoke expired certificates Description I have written the script below to cleanup the CA database by revoking the expired certificates. First, the script performs three checks and then revoke the expired certificates: a valid certificate for the same

    shellandco_admin March 15, 2018 PKI, Powershell, Security No Comments Read more

    Owncloud Passwords application migration to Passman

    If you used the application Passwords for Owncloud to store your credentials, you have seen recently this app does not exist anymore. The application has been removed from Github and it is hard to find the documentation. This is why

    shellandco_admin November 13, 2017 Github, PHP, Project, Security No Comments Read more

    List duplicated valid certificates on a MS PKI

    List duplicated valid certificates on a MS PKI The following script will give you the possibility to list the valid certificates on your Active Directory PKI that are duplicated. By “duplicated”, I mean at least two valid certificates for the

    shellandco_admin October 2, 2017 PKI, Powershell, Security No Comments Read more

    Request and remove a certificate using Active Directory templates

    You can request from Powershell a certificate from your Active Directory PKI. In that case you will use the cmdlet Get-Certificate. If you already know the template you want to use (for example Enhanced Web Server), you can use this

    shellandco_admin September 29, 2017 PKI, Powershell, Security No Comments Read more

    List AD domain controller KDC certificates

    Kerberos uses certificates to encrypt communication between the Kerberos client and the Kerberos Key Distribution Center (KDC). If you’re domain controllers use certificate for KDC you can list them by runnning this script: $domains = (Get-ADForest).domains $dcs = (Get-ADForest).globalcatalogs $list

    shellandco_admin September 28, 2017 Active Directory, PKI, Powershell, Security No Comments Read more

    Certificate renewal with Powershell

    With the following function, it is possible to renew a Local machine certificate by providing the certificate thumbprint to the function. To simply get a certificate thumbprint, you can run this command: gci -path Cert:\LocalMachine\My | select Thumbprint If you

    shellandco_admin September 27, 2017 PKI, Powershell, Security 4 Comments Read more
    • « Previous

    Recent Posts

    • pwddb – a self-hosted password repository
    • Get Azure Security event workspace configuration
    • Copy certificate to the Windows Services store
    • Copy files from Windows CIFS share
    • Create a certificate from a request file with Powershell

    Recent Comments

    • Nick Thompson on Update computer group membership without a reboot
    • Carl on Update computer group membership without a reboot
    • Frankted on Remove local user profile
    • László Török on Manage reverse DNS zones with Powershell
    • Christian Santos on Create DNS PTR record if A record exists
    Copyright © 2022 shell{&}co. Powered by WordPress. Theme: Spacious by ThemeGrill.