Community
    • Login

    Copy a certificate file as one line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 7.3k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors