Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Valid personal certificate and IE 9.x

    Scheduled Pinned Locked Moved General pfSense Questions
    26 Posts 3 Posters 7.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Or create and import a certificate from an already trusted root source.
      I'm sure I read something about doing that very recently but I can't remember where now.  :-\ You usually have to pay for them though.

      Steve

      Edit: It was these guys: https://www.startssl.com/
      I've never used them though, I offer no recommendation.  ;)

      Edit2: In fact there are quite a few posts about this on the forum. For example: http://forum.pfsense.org/index.php?topic=48210.0

      1 Reply Last reply Reply Quote 0
      • B
        balubeto
        last edited by

        Sorry but I have not yet understood the correct and free method to avoid displaying of the IE 9.x warning page.

        Thanks

        Bye

        balubeto

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          If you are asking about only one or two clients then just add your self signed certificate as a trusted source. If it's many clients then get a real certificate.

          Steve

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            "you can export your CA under cert manager."

            So what part do you not understand about that?  Then import into IE

            export.png
            export.png_thumb

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • B
              balubeto
              last edited by

              I have created a certificate

              and I exported to the crt format.

              When, however, I import it in IE 9.x 64 bit, the "Unable to recognize the file type" message is displayed. How come?

              Thanks

              Bye

              balubeto

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                you download the ca crt file, not the key?  Then in IE you go into your certificates and trusted root CA and import it.

                Now any cert that the pfsense CA signs you will trust and not get that warning.  Make sure you then create a cert to use as your web gui and that uses the common name of how you access your web gui.  https://host.something.tld

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • B
                  balubeto
                  last edited by

                  @johnpoz:

                  you download the ca crt file, not the key?  Then in IE you go into your certificates and trusted root CA and import it.

                  Now any cert that the pfsense CA signs you will trust and not get that warning.  Make sure you then create a cert to use as your web gui and that uses the common name of how you access your web gui.  https://host.something.tld

                  I had download the crt file created by pfSense, but then when I try to import this file in IE 9.x, the message above is displayed.

                  Also, I can not your last sentence. What you wanted to say?

                  Thanks

                  Bye

                  balubeto

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    what message?  I don't see any import screen.  Also could you make your screenshots a bit bigger?  Its like trying to read a postage stamp.  You can attach directly as well you don't have to use imgur

                    I think you download the wrong file then if your importing the correct thing.

                    As to last sentence – you have to use a FQDN to access pfsense if you don't want failure - if your using IP IE won't accept the cert you create.  you need to put this is the common name of the cert you create.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • B
                      balubeto
                      last edited by

                      @johnpoz:

                      what message?  I don't see any import screen.  Also could you make your screenshots a bit bigger?  Its like trying to read a postage stamp.  You can attach directly as well you don't have to use imgur

                      I think you download the wrong file then if your importing the correct thing.

                      As to last sentence – you have to use a FQDN to access pfsense if you don't want failure - if your using IP IE won't accept the cert you create.  you need to put this is the common name of the cert you create.

                      Where I'm wrong?

                      Thanks

                      Bye

                      balubeto

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        again your screenshot is so small - I am having a hard time reading it.  But looks more like you can not access the file to me - but looks like spanish so might be wrong?

                        can you open the file in text viewer?  should look something like

                        can you not just attached your images in native resolution so can actually view them.

                        verysmall.jpg
                        verysmall.jpg_thumb
                        cert.jpg
                        cert.jpg_thumb

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • B
                          balubeto
                          last edited by

                          Where I'm wrong?

                          Thanks

                          Bye

                          balubeto

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            much better - thanks.

                            "impossible to recognize the type of file, select another file"

                            so can you view the file in text viewer - does it look like my file?  the cert is just a text file with a .crt ext.

                            I would verify you file got downloaded ok by opening with text viewer - and then make sure your importing into the correct place

                            if file is ok, and using the correct import wizard, etc.  and still giving you that error than would have to guess you go something wrong with your IE/OS if can not understand a .crt file.

                            did your download even finish?  What is the yellow IE bar on the bottom of your window?

                            pickfile.jpg
                            pickfile.jpg_thumb
                            import.jpg
                            import.jpg_thumb
                            finalinstall.jpg
                            finalinstall.jpg_thumb

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              I would look to see if your .crt association has been changed?  Are you on xp, vista, 7?

                              once you have verified that it downloaded correctly with your text viewer software.

                              filetype.jpg
                              filetype.jpg_thumb

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • B
                                balubeto
                                last edited by

                                When I create a valid personal certificate, what should I put in the "Common Name"?

                                I use windows 7 SP1 64-bit.

                                Thanks

                                Bye

                                balubeto

                                1 Reply Last reply Reply Quote 0
                                • B
                                  balubeto
                                  last edited by

                                  Could you help me again?

                                  Thanks

                                  Bye

                                  balubeto

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    Unless you have changed it the common name would be 'pfsense'. It's whatever your machine is seen as. E.g. pfSense.yourdomain.com.

                                    Steve

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      balubeto
                                      last edited by

                                      I created my personal certificate and I exported it to a Windows 7 SP1 computer to then import it into IE 9.x 64-bit but does not work:

                                      Why? Which encodes has the crt file?

                                      Thanks

                                      Bye

                                      balubeto

                                      1 Reply Last reply Reply Quote 0
                                      • johnpozJ
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by

                                        It is TEXT file - I already showed you what it should look like - OPEN it with your favorite TEXT VIEWER!!

                                        Does it look like the one I posted?

                                        What personal cert did you create?  I don't see one - your CA lists NO CERTS created.

                                        You need to install the CA .crt file into IE as trusted CA.  Then any certs this CA signs IE will now trust - you need a common name on the cert the CA signs to be the FQDN that you use to access pfsense web gui on.  do you use https://pfsense.office to access your pfsense web gui?  Then that would be the common name pfsense.office of the cert you create that your pfsense CA signs.

                                        I have been on the road - and catching up with RL and work issues, when I get a chance I will create a How to in the wiki of each step to get IE to trust the cert used by the web gui of websense when you access it via https://whatever.something.tld

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          balubeto
                                          last edited by

                                          @johnpoz:

                                          It is TEXT file - I already showed you what it should look like - OPEN it with your favorite TEXT VIEWER!!

                                          Does it look like the one I posted?

                                          What personal cert did you create?  I don't see one - your CA lists NO CERTS created.

                                          You need to install the CA .crt file into IE as trusted CA.  Then any certs this CA signs IE will now trust - you need a common name on the cert the CA signs to be the FQDN that you use to access pfsense web gui on.  do you use https://pfsense.office to access your pfsense web gui?  Then that would be the common name pfsense.office of the cert you create that your pfsense CA signs.

                                          I have been on the road - and catching up with RL and work issues, when I get a chance I will create a How to in the wiki of each step to get IE to trust the cert used by the web gui of websense when you access it via https://whatever.something.tld

                                          Sorry again, but in the CAs list, there is a certificate with the pfSense_certificate name that I created. You see it?

                                          Thanks

                                          Bye

                                          balubeto

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by

                                            No there is isnt - that is your CA!!! Not a certificate that has been signed by your CA.. See the big ZERO - well maybe not because your pictures are the size of postage stamps ;)  This is ZOOMED into what you posted.

                                            Are you going to look at the file your downloading with your text viewer or NOT!!

                                            You need to install the CA cert into IE, then create a certificate that this CA signed with a common name of your FQDN you use to access pfsense web gui.  I don't know how to make it any easier

                                            nocerts.png
                                            nocerts.png_thumb

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.