diff --git a/tls-extra.cabal b/tls-extra.cabal
--- a/tls-extra.cabal
+++ b/tls-extra.cabal
@@ -1,5 +1,5 @@
 Name:                tls-extra
-Version:             0.6.5
+Version:             0.6.6
 Description:
    a set of extra definitions, default values and helpers for tls.
 License:             BSD3
@@ -31,7 +31,7 @@
                    , certificate >= 1.3.5 && < 1.4.0
                    , crypto-pubkey >= 0.2.0
                    , crypto-random
-                   , pem >= 0.1.0 && < 0.2.0
+                   , pem >= 0.1 && < 0.3
                    , time
   Exposed-modules:   Network.TLS.Extra
   other-modules:     Network.TLS.Extra.Certificate
