Community
    • Login

    Copy a certificate file as one line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Aldo BonelliA
      Aldo Bonelli
      last edited by

      Hi
      i have a .cert file, i need to copy it as one line excluding the line begin and end file, how can i do?
      i i select all the text when i paste it, i got only the first line
      thanks

      -----BEGIN CERTIFICATE-----
      HHTRHTRHTRHFDHGDFGHTNJYTNHDFUNJMYDHFJMYHDFMHCVHBGVR
      MRQwEgYDVQQDDAtHTRHTRHRTHTRHTRHTRHzA3MDdaFw0xOTAyMDgx
      NzI0MThaMBcxFTATBgNVBAMMDFAyU0NoaWxkQ2VydDCCASIwDQYJKoZIhvcNAQEB
      BQADggEPADCCAQGTHTHRHRTHRTHRTHf8/Ocfb2S5yZo+UZ0giYF26BEQP3Sin6ju0E
      Ox2nwfCe3HRA1tmnesRVmLgirpWOq87JslofFklojFL3ikv8N3+pL8Hdx7JJfos6
      2XnQ9HSBHKzGBGQj+aXeQViwokbcbrCxX03yFzOnFCz6C/d09FsNfgHLYM8dQfTg
      iC53h4SObn+TLY5BhxC0KtGFpXkmV6aHOWG1AIRiRzr1k2fzi9Otaa7fcYUORpTU
      lqcG2BGmVUH/uVJYazxJBgJeonKDfuAOQJYGAZ9b6D0oAmanCPeE/9uIk5z3v5HE
      v+iLKhhuRYnE9XqbUlO5RanTWUWbnGxQBDcPmBpdWU0CAwEAAaNnMGUwDgYDVR0P
      AQH/BAQDAgWgMBMGA1UdJQQMMAoGCCsGAQUFBwMCMB8GA1UdIwQYMBaAFF/Gpp8Z
      sUVsVLy1d19tMOAOc+jmMB0GA1UdDgQWBBR6YOK7XsEpwzAehTdRa9empIHvPDAN
      fsdfgfgfdgfdgfdgfdgdfgdfgdfgdfgttoiopgtkroptgjklògmfdlkbnmdkgfljbnmlkb/HxADGfF8a
      1bYNPP2rZV9OSQJ/Yem3rvepXB/7IiInKhJ+zL9UkSNNHEnrEWshrCd4UktkkKXa
      oq6hbHlXn0RM88CtrwaD/wRp1MQGtvxkLXoO1xPoWTWdHlui0Q0GVyJYHMRIq+3t
      7CaJ1ROAHeHd3J8kKja1Pp7dfdafdfsdfsdfsfsdfsdfsdfsdfsdf/XIsjE+6uGi
      D+L5C8XNpcRlnGMYHYPOEi4IBd1D1tyQzaiFikPsQ8aFkA==
      -----END CERTIFICATE-----

      Scott SumnerS 1 Reply Last reply Reply Quote 1
      • Scott SumnerS
        Scott Sumner @Aldo Bonelli
        last edited by

        @Aldo-Bonelli

        Copy the text between the begin and end lines to a temporary edit buffer (i.e., do File (menu) -> New).

        Then do Edit (menu) -> Blank Operations -> Remove Unnecessary Blank and EOL on that.

        Next select all of it and copy it to where you need it as a single line.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors