Skip to content

Instantly share code, notes, and snippets.

@krisleech
Created July 6, 2023 16:00
Show Gist options
  • Select an option

  • Save krisleech/996e18e12b1510057d59c37c15077a31 to your computer and use it in GitHub Desktop.

Select an option

Save krisleech/996e18e12b1510057d59c37c15077a31 to your computer and use it in GitHub Desktop.

Revisions

  1. krisleech created this gist Jul 6, 2023.
    16 changes: 16 additions & 0 deletions INFO.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    ```
    $ gem build wisper.gemspec
    Enter PEM pass phrase:
    INFO: Your certificate has expired, trying to re-sign it...
    ERROR: While executing gem ... (Gem::Security::Exception)
    certificate /CN=kris.leech\/DC=gmail\/DC=com not valid after 2020-10-15 18:13:45 UTC
    ```

    ```
    $ gem cert --re-sign -C gem-public_cert.pem -K ~/.ssh/gem-private_key.pem
    $ gem cert --add gem-public_cert.pem
    $ gem build wisper.gemspec
    # try to install
    $ gem install ./wisper-3.0.0.rc1.gem -P HighSecurity
    $ gem push wisper-3.0.0.rc1.gem
    ```